HTML <nav> Element Reference

The HTML <nav> element identifies a section whose purpose is navigating the site or document.

<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>

Related references

Description

The HTML <nav> element identifies a section whose purpose is navigating the site or document.

References

  1. HTML Living Standard: Index of elements
  2. MDN: HTML <nav> Element

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies