Skip to content
Guest
← All References
HTML Baseline Widely Available

Semantic Landmarks

Essential HTML5 landmark elements that structure documents for screen readers, browsers, and search engines.

<header>, <nav>, <main>, <article>, <section>, <aside>, <footer>
ElementPurposeRule of Thumb
<header>Introductory content or site bannerUsually holds logo and primary nav
<nav>Major navigation linksAdd aria-label when using multiple <nav> blocks
<main>Dominant unique page contentOnly one visible <main> per page
<article>Self-contained compositionBlog post, lesson, or comment card
<aside>Tangentially related contentSidebar TOC, callouts, related links
<footer>Closing metadataCopyright, secondary links, author info

Search courses, lessons, and references

Type to search across all courses, lessons, and quick references.

Press Esc to close Powered by Pagefind