HTML <nav> (Navigation) Tag
Example
<nav>
<a href="home.html" >Home</a>
<a href="about.html" >About</a>
<a href="contact.html" >contact</a>
</nav>
Meaning
The <nav> element represents a group of links to other locations either inside or outside of a document.
Links are not restricted to occur solely within <nav> elements.
The intent of this element is that it collects navigation together often as a unit; commonly this would be primary or secondary site navigation or possibly page-related links.
A document may have several <nav> elements.
Version: HTML5
Standard Syntax
<nav>...<nav>
Browser Support
Status
Global Attributes
The <nav> element also supports the Global Attributes in HTML.
Event Attributes
The <nav> element also supports the Event Attributes in HTML.
By Default CSS Value(s)
Most of the browsers will display the <nav> element with the following by default value(s)
nav {
display: block;
}