Welcome to HTML5-Tutorials

Our site offers a lot of HTML5 learning from absolutely beginning to advanced level.If you want to make a website with HTML,this site will completely guide you a lot.So learn HTML5 syntax and form of coding easily with this website.If you have any doubt,leave a message on us.We will return you so soon.This site includes innumerable number of references you need to do after studying their corresponding elements.

In this page,we will learn about HTML <nav> tag.

Use of <nav> tag

The <nav> tag is used to define a set or group of navigation links either within the current domain or another server.


Example of <nav> tag

       <a href="#"> HTML </a>
       <a href="#"> CSS </a>
       <a href="#"> JavaScript </a>

Supported Browsers.

<nav> 6.0 or higher 9.0 or higher 4.0 or higher 5.0 or higher 11.1 or higher

Full Code Example

<!DOCTYPE html>
<a href="#"> HTML </a> |
<a href="#"> CSS </a> |
<a href="#"> JavaScript </a>


More Reference

The <nav> element is new in HTML5.
Although <nav> element is used to give navigation links, it is not mandatory to make all links of a document within <nav> element.
The using of this tag is best suited on making primary navigation bars which mostly located at the periphery or top of a page.This tag also helps in the screen readers to identify the primary navigation areas in a document.

Default CSS properties of <nav> tag

nav {