Link Search Menu Expand Document

Jump Straight to the Content Using the main Element

Summary

  • HTML5 includes accessibility features such as main, header, footer, nav, article, and section among others.
  • The tag div can be used to indicate the type of information a section contains, assisting users with assistive technologies.
  • The main tag 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>