Code Reference

Blog Layout

HTML · Example / how-to

HTML · Example / how-to


📋 Overview

Semantic skeleton for an article page with header, article, aside TOC, and footer.

🔧 Core concepts

RegionElement
Brandingheader
Contentarticle + headings
TOCaside / nav
Metatime, author

💡 Examples

<main>
  <article>
    <header>
      <h1>Understanding landmarks</h1>
      <p>By <span rel="author">Ada</span> ·
        <time datetime="2026-07-11">Jul 11, 2026</time>
      </p>
    </header>
    <section>
      <h2>Overview</h2>
      <p>...</p>
    </section>
  </article>
  <aside>
    <nav aria-label="On this page">
      <ol>
        <li><a href="#overview">Overview</a></li>
      </ol>
    </nav>
  </aside>
</main>

⚠️ Pitfalls

  • Don't skip heading levels (h1h3).
  • One h1 per page keeps outlines clean.

On this page