<nav> Tag in HTML 5

In this article I am going to tell about <nav> Tag in HTML 5.
  • 2022

Definition

<nav> Tag is used for defining a section of navigational links. It is introduced in HTML 5.

Supporting Browsers

Internet Explorer, Mozilla Firefox, Google Chrome, Safari and Opera are the supporting browsers.

Example
 

<html>
<head></head>
       <body>

           <nav>
                 <a href="/html/">HTML</a> |
                 <a href="/html5/">HTML5</a> |
                 <a href="/css/">CSS</a> |
                 <a href="/css3/">CSS3</a> |
                 <a href="/js/">JavaScript</a> |
                 <a href="/vbs/">VBScript</a>
           </nav>

        </body>
</html>

Output

nav.JPG

Further Readings

You may also want to read these related articles

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

© 2020 DotNetHeaven. All rights reserved.