📚 › HTML: build the structure of a web page
14. Semantic layout: header, nav, main, footer
Semantic tags describe the purpose of a part of the page. header holds the top, nav the navigation links, main the main content, article a self-contained story, section a themed part, and footer the bottom.
Screen readers use these tags to let visitors jump straight to the main content.
Show example
<header><h1>My Blog</h1></header>
<nav><a href="/">Home</a></nav>
<main><article><p>First post</p></article></main>
<footer>© 2026</footer>
✍️ Your turn
Wrap a heading in header, content in main, and add a footer that says Thanks for visiting.