Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

How to Create Navigation Links using HTML5 ?

  • Last Updated : 14 Jul, 2020

In this article, we create a navigation link by using the <nav> tag in the document. The nav element represents a section of the page whose purpose is to provide navigational links, either in the current document or to other documents. The links in the “nav” element may point to other webpages or to different sections of the same webpage. It is a semantic element. Common examples of the “nav” elements are menus, tables, contents, and indexes.


Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.



<!DOCTYPE html>
        How to create navigation 
        links using HTML5 ?
        .gfg {
            font-size: 40px;
            color: #090;
            font-weight: bold;
            text-align: center;
        .nav_tag {
            text-align: center;
            margin: 30px 0;
            font-size: 35px;
    <div class="gfg">
    <div class="nav_tag">
        How to create navigation 
        links using HTML5 ?
        <a href="#">C++</a> |
        <a href="#">Java</a> |
        <a href="#">PHP</a> |
        <a href="#">Data Structure</a> |
        <a href="#">Algorithm</a>


Supported Browsers are listed below:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Apple Safari
  • Opera

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!