<nav>
HTML <nav> Element Reference
The HTML <nav> element identifies a section whose purpose is navigating the site or document.
Categories
- Sections
Tag omission
Consult the HTML Living Standard for the precise tag-omission rules.
Content model
- Detailed content-model guidance will be added to this reference.
Attributes
Examples
Example
A practical nav element example.
<nav aria-label="Main navigation">
<a href="/">Home</a>
<a href="/reference">References</a>
</nav>