Skip to content

Latest commit

 

History

History
79 lines (55 loc) · 5.08 KB

html_study_guide.md

File metadata and controls

79 lines (55 loc) · 5.08 KB

#HTML

HTML (Hyper Text Markup Language) elements are the building blocks of the Web. HTML defines the basic structure of a page and your styles(CSS) and interactivity(Javascript) are based off of your HTML. Every web page, at it’s core, starts with HTML!

HTML consists of elements in opening and closing tags (in angle brackets, i.e. <h1>This is a Headline!</h1>). The opening tag - <h1> - starts the element and the closing tag - </h1> tells the web browser the element has ended.

Attributes provide more information about your HTML element. They consist of a name and value pair. For example:

<p lang=“en-us”>This paragraph is in English</p>

This <p> element has a language attribute (lang) with the value of English (en-us). This attribute indicates to the browser the <p> element’s content will be in English.

Well-written HTML is clean, lean, and semantic. The HTML element should match the role of the content. For example:

<header> tag for a page’s header <nav> tag for a navigation bar <p> tag for paragraphs or blocks of text

Let’s use some of the resources below to get you writing your first web page with HTML!

As an opening exercise... Go to your favorite website and type in:

Cmd + Option + I (on Mac) OR Ctrl + Shift + I (on Windows)

This open’s your browser’s Developer Tools. Here you can inspect the page’s HTML! Have a look around, see how they organized the code, and see if you can recognize some basic HTML elements.

If this is your first time with HTML/CSS, we encourage you to go through our First Timer's Guide.

Learning Resources Legend

  • 💻 - interactive courses, labs, or problems
  • 📹 - videos
  • 🎧 - podcasts
  • 📚 - books or long reads
  • 📄 - articles, short reads, or tutorials
  • 💰 - paid resource

###Beginner

Interactive

  • CodeAcademy HTML & CSS - CodeAcademy’s HTML fundamentals is a great starter for first-timers with HTML. It will teach you basic elements while completing interactive challenges in your browser. Plus, it’s free! 💻
  • Khan Academy Intro to HTML - Free - Great HTML primer with some sprinkled in CSS (you’ll quickly learn it’s hard to separate HTML from CSS...well-written HTML leads to better CSS and vice-versa!) 💻

####Blog

  • Building Your First Web Page by Shay Howe - goes in-depth on what HTML is, understanding elements, attributes, tags, and how to pull everything together to write HTML markup for your first web page. 📄
  • HTML Dog Beginner Tutorial - Learn about lists, links, tables, forms, and pulling it all together! 📄

####Video

  • Lynda.com videos are free with a DC Public Library card. You can be a resident of DC, NoVA, or MD to apply for a DCPL card! The org code on Lynda.com is dclibrary.org. 📹
  • HTML Structure, Syntax, and Semantics - What is structure? What is syntax? What are semantics? This set of videos will set you on the right path. Free with a DC library card! 📹

####Projects

  • Write the HTML for this screenshot of Mint.com.
  • Write the HTML for the Google homepage (test your knowledge of h1s, forms, and navs)

###Intermediate ####Blog

###Video

###Projects

  • Write the HTML a site with a home page (index.html) and an about page (about.html).

###Advanced ###Blog

###Projects

###Books