Semantic Layout Tags
HTML5 introduced semantic elements describing what content they contain. Before HTML5 everything was a <div>. Now we have specific tags that search engines and screen readers understand.
The Semantic Page Blueprint
<body> <header> <h1>CIWeb</h1> <nav> <a href="/">Home</a> <a href="/courses">Courses</a> </nav> </header> <main> <article> <h2>Learn HTML Free</h2> <p>22 lessons, live editor, AI tutor.</p> </article> <aside> <h3>Related Courses</h3> </aside> </main> <footer> <p>© 2025 CIWeb</p> </footer> </body>
time and figure in Practice
<!-- time: machine-readable date --> <p>Published <time datetime="2025-01-15"> January 15, 2025 </time> </p> <!-- figure: image with caption --> <figure> <img src="chart.png" alt="Growth chart"/> <figcaption>Student growth 2025</figcaption> </figure>
Google uses semantic tags to understand your page. <article> signals indexable content. <nav> helps Google map your site structure. Semantic HTML is a confirmed Google ranking factor.
Ask: does this element have a meaningful role on the page? If yes — there is a semantic tag for it. If you are grouping something purely for CSS styling — use div.
HTML5 was finalized in 2014 — 23 years after HTML was invented in 1991. The W3C debated which semantic elements were worth standardizing for over a decade. All major browsers fully support them today.