2. Semantic Markup

2.2. The <nav> tag


          <nav> element provides navigation links, either to other pages or within the current page and is defined this way:

          “The <nav> element presents a section with navigation links.”

          It is advised that <nav> is used only for the main navigational structures and not for a minor set of hyperlinks (such as those found in the footer of a web page).

          The following shows how a  <nav> element is used:


<nav>
    <ul>
       <li><a href="#">Home</a></li>
       <li><a href="#">About Us</a></li>
       <li><a href="#">Contact Us</a></li>
    </ul>
</nav>