Locked learning resources

Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Locked learning resources

This lesson is for members only. Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Structuring Web Pages With HTML (Summary)

In this course, you learned to:

  • Explain how the browser turns your HTML file into a tree, and check that tree in the Elements panel.
  • Link pages across folders with relative paths, and mark up text by what it means.
  • Add images with alt text, and divide a page into landmarks.
  • Mark up a data table, and find the mistakes HTML never reports.
  • Build a small multi-page site in valid, semantic HTML.

You built Rosa’s site for the Elm Street Community Garden. Its home page has a photo of Mei’s plot with alt text and a caption. The plots page holds a table with a caption and header cells, and the about page lists the rules as an ordered list. All three pages share one frame, <header>, <nav>, <main> and <footer>, and every page passes the validator.

Things to Remember

  • HTML doesn’t run or report errors. The browser repairs what it can.
  • The Elements panel shows the tree the browser built, not your file.
  • A relative path starts from the page’s own folder.
  • Choose elements for what the content is, not how it looks.
  • Check every page with the validator and the Elements panel. A page can look right and still be wrong.

Locked learning resources

Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Already a member? Sign-In

Locked learning resources

The full lesson is for members only. Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Already a member? Sign-In

Become a Member to join the conversation.