Semantic HTML Structure — Free HTML Tutorial

Learn Semantic HTML Structure in HTML with a free, beginner-friendly tutorial, examples and practice for Indian students on Syllab.in.

Semantic HTML Structure — Free HTML Tutorial

Learn Semantic HTML Structure in HTML with a free, beginner-friendly tutorial, examples and practice for Indian students on Syllab.in.

✓ 100% Free ✓ No Login Needed ✓ NCERT / CBSE Aligned ✓ Download as PDF

TL;DR: Learn Semantic HTML Structure in HTML with a free, beginner-friendly tutorial, examples and practice for Indian students on Syllab.in.

Written & reviewed by the Syllab.in Academic Team (CBSE/NCERT subject experts) · Updated

🤖 Stuck on any question? Ask Syllab's free AI Tutor for a step-by-step explanation — instant, unlimited, no login.

Semantic HTML Structure in HTML

Semantic HTML describes meaning: <header>, <nav>, <main>, <section>, <article>, <aside>, <footer>. Screen readers and SEO benefit.

<header> is page/section intro. <nav> is navigation. <main> is primary content. <section> groups related content. <article> is standalone.

<aside> is supplementary (sidebar). <footer> is page/section end. Never use empty divs when semantic tags fit.

Semantic HTML Structure — Syntax

<header><h1>Site Title</h1><nav>...</nav></header>
<main>
  <section><h2>Topic</h2><p>...</p></section>
  <article><h3>Post</h3><p>...</p></article>
  <aside>Sidebar</aside>
</main>
<footer>Copyright</footer>

Learn Semantic HTML Structure step by step with Syllab's free interactive HTML tutorial — runnable code examples, practice exercises and instant AI feedback, all free with no signup. Explore the full HTML course →