View video tutorial

HTML <nav> Tag


The <nav> tag is used defines a set of navigation links.

HTML <nav> Tag

The <nav> HTML element represents a section of a page taht provides important navigation links within the current document or other.

The <nav> is only intended for the major block of navigation links.

Usually <header> or <footer> elements often contain important links that may be in a <nav> element.

Global attributes

Global attributes may be applied on all elements, although some elements may have no effect on them.

<accesskey>, <class>, <contenteditable>, <contextmenu>, <data-*>, <dir>, <draggable>, <dropzone>, <hidden>, <id>, <lang>, <spellcheck>, <style>, <tabindex>, <title>, <translate>.

Learning with HTML Editor "Try it Now"

You can edit the HTML code and view the result using online editor.


    <a href="#">Home</a> |
    <a href="#">Services</a> |
    <a href="#">About</a> |
    <a href="#">Contect</a>
Try it Now »

Click on the "Try it Now" button to see how it works.