HTML <nav> Tag
- Previous Page <meter>
- Next Page <noframes>
Definition und Verwendung
<nav>
Tag definiert eine Gruppe von Navigationslinks.
Bitte beachten Sie, dass nicht alle Links in <nav>
Innerhalb des Elements.<nav>
Das Element wird nur für den Hauptnavigation Link Block verwendet.
Der Browser (z.B. Screenreader für Behinderter) kann diesen Element verwenden, um zu bestimmen, ob der Inhalt initial weggelassen werden soll.
See also:
HTML DOM Reference Manual:Nav Object
Examples
A set of navigation links:
<nav> <a href="/html/">HTML</a> | <a href="/css/">CSS</a> | <a href="/js/">JavaScript</a> | <a href="/python/">Python</a> </nav>
Global Attributes
<nav>
The tag also supports Global Attributes in HTML.
event attributes
<nav>
The tag also supports Event Attributes in HTML.
Default CSS Settings
Most browsers will display the following default values <nav>
Element:
nav { display: block; }
Browser Support
The numbers in the table indicate the first browser version to fully support this tag.
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
5.0 | 9.0 | 4.0 | 5.0 | 11.1 |
- Previous Page <meter>
- Next Page <noframes>