HTML | CSS | JavaScript | jQuery"> HTML | CSS | JavaScript | jQuery" />
Easy Tutorial
❮ Att Html Manifest Att Img Loading ❯

HTML <nav> Tag

Example

A navigation link example:

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

Browser Support

Most browsers currently support the <nav> tag.


Tag Definition and Usage

The <nav> tag defines a section of navigation links.

Not all HTML documents need to use the <nav> element. The <nav> element is simply used to mark a region of navigation links.

Navigation links can be configured to display or not on different devices (phones or PCs) to meet the needs of different screen sizes.


Differences Between HTML 4.01 and HTML5

The <nav> tag is new in HTML5.


Global Attributes

The <nav> tag supports global attributes. View the complete attribute list HTML Global Attributes.


Event Attributes

The <nav> tag supports all HTML Event Attributes.

❮ Att Html Manifest Att Img Loading ❯