nav tag, or Navigation Section element, is wrapped around a group of navigation links.
The <nav> tag should only be used for major blocks of navigation links and not any other links in the document.
<nav> <a href="https://example.com">Home</a> <a href="https://example.com/about/">About</a> <a href="https://example.com/projects/">Projects</a> <a href="https://example.com/contact/">Contact</a> </nav>
Have a code example of
<nav>? Submit a codepen.io demo and we'll showcase it here ↴
Help @reference spread the word by sharing this article on Twitter...Tweet This