Skip to content
HTML.ONE
Home HTML Elements

HTML <nav> Element

Represents a major navigation section. Give distinct navigation regions accessible labels.

Example

<nav aria-label="Main"><a href="/">Home</a></nav>

Further reference

HTML Living Standard

Live preview