e01.org

HTML landmarks

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 :

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"HTML landmarks". 1760453813. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1316813015

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·