The Nav object represents an HTML <nav> element.
注: The <nav> element is not supported in Internet Explorer 8 and earlier versions.
You can access a <nav> element by using getElementById():
You can create a <nav> element by using the document.createElement() method:
The Nav object supports the standard properties and events.
HTML reference: HTML <nav> tag