Skip to main content
🌐 HTML Basics

Semantic layout

Instead of wrapping everything in generic <div>s, HTML5 gives you semantic tags that describe a region's purpose: <header>, <nav>, <main>, and <footer>.

<header>…</header>
<nav>…</nav>
<main>…</main>
<footer>…</footer>

These help search engines and assistive tech understand your page layout. You need one of each β€” drag the blocks in, or tap the hint to add the missing ones.

Your task

Lay out a page with a <header>, a <nav>, a <main>, and a <footer> β€” one of each.

⚑ 35 XP

Hints

index.htmliframe
Loading editor…
Preview
Run your code to see test results.