Skip to main content
Module 2 · Lesson 1 of 45/60 in the course~16 min
Module lessons (1/4)

Beyond Div Soup: HTML5 Landmarks

Lesson preview5 hands-on exercises readyModern HTML & CSS · Semantic HTML5 & Page Architecture

Use header, nav, main, and footer landmarks so keyboard and screen reader users jump anywhere fast.

What you'll learn in this lesson

  • Replace generic <div class="header|nav|main|footer"> soup with semantic HTML5 landmarks.
  • Label multiple <nav> regions cleanly using aria-label.
  • Explain how landmarks speed up screen reader and keyboard navigation immediately.

Overview

Visually, <div class="top"> and <header> draw identical pixels before CSS runs. Under the hood, however, <div class="..."> means nothing to browsers, search crawlers, or assistive technology. Screen reader software relies on HTML5 landmark roles so visitors can jump directly from navigation to the <main> article without listening to 40…

Toggle between raw <div> blocks and semantic HTML5 landmarks to inspect the live accessibility landmark menu exposed to screen readers:

Sections covered in this lesson

  1. 1Why "Div Soup" Hurts Real People
  2. 2Compare Div Soup vs Semantic Landmarks
Pro Lesson · Semantic HTML5 & Page Architecture

Unlock "Beyond Div Soup: HTML5 Landmarks" and the full Modern HTML & CSS curriculum

Use header, nav, main, and footer landmarks so keyboard and screen reader users jump anywhere fast.

Unlock all 5 hands-on exercises in this lesson plus every advanced WebAssembly module with automated checks.

  • Instant access to all advanced modules in Modern HTML & CSS plus 17 more courses
  • Hands-on browser exercises with automated test suites and solutions
  • 14-day money-back guarantee processed via Paddle.com

14-day guarantee · Cancel anytimeModule 1, all 18 interactive games, and cheatsheets are always free.