HTML DOM Nav Object
Nav Object
The Nav object represents the HTML <nav> element.
Note:Internet Explorer 8 and earlier versions do not support the <nav> element.
Accessing Nav Object
You can use getElementById() to access the <nav> element:
var x = document.getElementById("myNav");
Create Nav Object
You can use the document.createElement() method to create a <nav> element:
var x = document.createElement("NAV");
Standard Properties and Events
Nav Object Supports StandardsPropertiesAndEvents.
Related Pages
HTML Reference Manual:HTML <nav> Tag