HTML < nav > Tag - Learn About Website | DaddyFile

0

HTML <nav> Tag

Example

A set of navigation links:

<nav>
  <a href="/html/">HTML</a> |
  <a href="/css/">CSS</a> |
  <a href="/js/">JavaScript</a> |
  <a href="/jquery/">jQuery</a>
</nav>


Definition and Usage

The <nav> tag defines a set of navigation links.
Notice that NOT all links of a document should be inside a <nav> element. The <nav> element is intended only for major block of navigation links.
Browsers, such as screen readers for disabled users, can use this element to determine whether to omit the initial rendering of this content.

Differences Between HTML 4.01 and HTML5

The <nav> tag is new in HTML5.

Post a Comment

 
Top