The <nav> element specifies a collection of navigation links.
Notably, not all links within a document should reside within a <nav> element. The <nav> element is specifically designed for significant sets of navigation links. Browsers, including screen readers utilized by individuals with disabilities, utilize this element to decide whether to prioritize rendering this content initially. |
Example
A collection of links for navigation:
<nav> <a href=”/html/”>HTML</a> | <a href=”/css/”>CSS</a> | <a href=”/js/”>JavaScript</a> | <a href=”/jquery/”>jQuery</a> </nav> |