← All snippets

Semantic Page Structure

Use semantic HTML5 landmarks for accessibility and SEO — screen readers and search engines love them.

patterns

Code

<body>
  <header>…nav…</header>
  <main>
    <article>…post…</article>
    <aside>…related…</aside>
  </main>
  <footer>…copyright…</footer>
</body>