Curriculum
Course: HTML Basic
Login

Curriculum

HTML Basic

HTML Introduction

0/1

HTML Editors

0/1

HTML Attributes

0/1

HTML Paragraphs

0/1

HTML Formatting

0/1

HTML Comments

0/1

HTML Favicon

0/1

HTML Page Title

0/1

HTML Iframes

0/1

HTML Java Script

0/1

HTML File Paths

0/1

HTML Symbols

0/1
Text lesson

HTML <nav> Element

The <nav> element specifies a collection of navigation links.

Notably, not all links within a document should reside within a <nav> element. The <nav> element is specifically designed for significant sets of navigation links.

Browsers, including screen readers utilized by individuals with disabilities, utilize this element to decide whether to prioritize rendering this content initially.

Example

A collection of links for navigation:

<nav>
  <a href=”/html/”>HTML</a> |
  <a href=”/css/”>CSS</a> |
  <a href=”/js/”>JavaScript</a> |
  <a href=”/jquery/”>jQuery</a>
</nav>