The nav tag

The nav tag is designed to create the main menu on an HTML page:

html<div id="wrapper">
  <header>
    <nav>
      <a href="">item 1</a>
      <a href="">item 2</a>
      <a href="">item 3</a>
    </nav>
  </header>
  <main>
    ...
  </main>
  <aside>
    ...
  </aside>
  <footer>
    ...
  </footer>
</div>

See also

  • tag header,
    which defines the top part of the site
  • tag footer,
    which defines the bottom of the site
  • tag main,
    which defines the main part of the site
  • tag aside,
    which defines the side part of the site