Nav (HTML element)

From Wiki @ Karl Jones dot com
Jump to: navigation, search

In HTML5, the nav element represents side-wide navigation, or other major navigation links.

Semantic element

nav is a container for holding further content.

It has semantic meaning: "contents are navigation-related".

nav elements typically contain navigation bars, along with brand identification such as a logo, and so on.

HTML5 supports multiple nav elements per page. Use them sparingly, for major navigation. Avoid using nav elements for arbitary lists of links.

See also

External links