HTML & CSS · Senior · Question 40 of 75
What are HTML landmarks, and why do they matter?
- ✓Correct answer: Regions (
header,nav,main…) for quick screen reader navigation - 2Markers for search crawlers that boost the site's ranking
- 3
<a name>anchors for navigating sections of a long page
Explanation
Semantic elements implicitly get landmark roles (banner, navigation, main, complementary, contentinfo). Screen reader users open a list of landmarks and jump to the one they need. If a page has several nav elements, give them distinct names via aria-label. A typical SPA problem is a missing main or several visible ones.