Jump Straight to the Content Using the main Element
Summary
- HTML5 includes accessibility features such as
main,header,footer,nav,article, andsectionamong others. - The tag
divcan be used to indicate the type of information a section contains, assisting users with assistive technologies. - The
maintag is used to wrap the main content of a page, not including items that repeat across pages.
Final Code
<header>
<h1>Weapons of the Ninja</h1>
</header>
<main>
</main>
<footer></footer>