HTML <nav> Tag


The nav tag is an HTML5 element that creates a section in an HTML document with navigation links.

The <nav> element is another frequent name for this tag.

It's important to note that a <nav> element should not contain all of a document's links. Only substantial blocks of navigation links should be placed in the <nav> element.

This element can be used by browsers to determine whether to skip the initial rendering of this content, such as screen readers for disabled people.

Syntax

Example

Preview

Supported Browsers

Element Chrome Firefox Safari Edge / IE Opera
<nav> 5.0 4.0 5.0 9.0 11.1