HTML landmarks
≈ 1 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
HTML landmarks are used to categorize and group content on a web page for better accessibility and SEO.
HTML landmarks are used to categorize and group content on a web page for better accessibility and SEO. Hello, world! The code above is the same as the following more widely accepted version: Hello, world! The role of main on the <main> element is useless, as it already inherits that role as its default landmark role: Hello world! Applying the form role to <header> is semantically improper, because it overrides <header> 's the default role of banner :
Text derived from https://en.wikipedia.org/w/index.php?oldid=1316813015 under CC BY-SA 4.0; modifications have been made.