Difference between revisions of "Nav (HTML element)"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) (Created page with "In HTML5, the '''nav''' element represents side-wide navigation, or other major navigation links. == Semantic element == '''nav''' is a container for holding further co...") |
Karl Jones (Talk | contribs) |
||
Line 8: | Line 8: | ||
'''nav''' elements typically contain [[Navigation bar|navigation bars]], along with brand identification such as a logo, and so on. | '''nav''' elements typically contain [[Navigation bar|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 == | == See also == |
Latest revision as of 08:34, 26 April 2016
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.