Section that contains only navigation links in HTML5

HTMLFront End TechnologyWeb Development

The HTML <nav> tag specifies a section that contains only navigation links. You can try to run the following code to implement <nav> tag in HTML5 −

Example

<!DOCTYPE html>
<html>
   <head>
      <title>HTML Nav Tag</title>
   </head>
   <body>
      <p>Database Tutorials:</p>
      <nav>
         <a href = "dbms/index.htm">DBMS</a> |
         <a href = "mongodb/index.htm">MongoDB</a> |
         <a href = "mysql/index.htm">MySQL</a> |
         <a href = "plsql/index.htm">PL/SQL</a> |
         <a href = "sql/index.htm">SQL</a>
      </nav>
   </body>
</html>
raja
Published on 13-Mar-2018 08:07:05
Advertisements