WitzCode
← All tracks
📄 HTML·Semantic Tags

Semantic Tags

header, nav, main, section, footer.

Semantic Tags

Instead of <div> everywhere, describe meaning:

<header>...</header>
<nav>...</nav>
<main>
  <section>...</section>
  <article>...</article>
</main>
<footer>...</footer>

Semantic HTML helps search engines and screen readers.

Challenge 1 / 20 XP

How many <main> elements should a page have?

Practical task

Write a page skeleton with a `header`, a `main`, and a `footer`.