Navigation bars are essentially a list of links, so the ul and li elements are used to encase navigation links.
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
To make a navigation bar using the HTML5 nav element, encase the links within the nav tag.
<nav>
<a href="#">Home</a>
<a href="#">About</a>
<a href="#">Contact</a>
</nav>
Topic Id: 10725
Example Ids: 32173,32174
This site is not affiliated with any of the contributors.