<nav> tag in HTML5
The <nav> tag used to provide only for major block of navigation links, either within current document or to other document. The <nav> tag defines a set of navigation links.
Important Description
- The <nav> tag is new element in HTML5.
- It is not use for all links of a document should be inside a <nav> element.
- The<nav> tag cannot be nested in the <address> element.
- Open and close tag required of <nav>.
Example of <nav> tag
<nav> Tag Browser Support
Element |
Chrome |
Edge |
Firefox |
Safari |
Opera |
<nav> |
Yes |
Yes |
Yes |
Yes |
Yes |
Version |
6.0 |
9.0 |
4.0 |
5.0 |
11.1 |
Global Attributes
Event Attributes