Nav (HTML element)

From Wiki @ Karl Jones dot com
Revision as of 08:34, 26 April 2016 by Karl Jones (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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