Document Structure & Semantics
The document object model is the living skeleton of every web page. Understanding its hierarchy — from root to leaf — allows you to write markup that communicates intent to both machines and humans.
<article class="tutorial-step">
<header>
<h3>Step Title</h3>
<p class="metadata">Author · Date</p>
</header>
<p>Body content…</p>
</article>
Semantic elements carry implicit meaning. A <nav> tells browsers and screen readers that this region contains navigation. An <article> signals self-contained, independently distributable content.