Lesson 7 of 8
Semantic HTML
Semantic HTML means using tags that describe the meaning of content, not just how it looks. Examples include <header>, <nav>, <main>, <article>, <footer>.
Semantic HTML improves accessibility, SEO, and code readability.
HTML
<header>
<h1>My Blog</h1>
<nav>
<a href="/">Home</a>
<a href="/about">About</a>
</nav>
</header>
<main>
<article>
<h2>Blog Post Title</h2>
<p>Content here...</p>
</article>
</main>
<footer>
<p>© 2026</p>
</footer>