Description:

The HTML <nav> tag is used for declaring a navigational section of the HTML document.

Websites typically have sections dedicated to navigational links - links that enable the user to navigate the site. These links should be placed inside a <nav> tag.

Example Code:
<nav>
<a href="/">Home</a> |
<a href="/html-validator/">HTML Validator</a> |
<a href="/tags/">HTML Tags</a> |
<a href="/contact.php">Contact</a>
</nav>
Result:
Attributes:

None

Global Attributes:

The <nav> tag also supports the Global Attributes in HTML5

Event Attributes:

The <nav> tag also supports the Event Attributes in HTML5