HTML Essentials

Lesson 04 · 12 min

Semantics and structure

header, main, article aren't "pretty divs". They're a map of the page.

12 minLesson 4 of 8Practice includedAsk AI on any point

div means nothing: it's a box for styles. Semantic tags mean something. A screen reader announces "banner", "navigation", "main". A search engine understands where the article is and where the footer is. A keyboard user jumps to main, skipping the header.

Sign in to continue

The rest of this lesson opens after sign up

The first lesson of every course is open without an account. To read on, solve the practice and use Ask, create a free account or log in.