XML technologies / HTML & XHTML / Alphabetical list of HTML and XHTML elements / nav

(Excerpt from "HTML & XHTML ─ kurz & gut" by Jennifer Niederst Robbins)

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

   

nav

HTML 5

<nav> ... </nav>

Marks a part of the document intended for navigation. Not every list of links is suitable for nav, only major navigation areas within a page or section. Links within a nav element can point to other documents or to locations within the current document.

Notes

HTML 5 only.

Start/end tag

Required/required

Attributes

Global HTML 5 attributes

Example

<nav>
  <ul>
    <li><a href="">Über uns</a></li>
    <li><a href="">Kontakt</a></li>
    <li><a href="">Startseite</a></li>
  </ul>
</nav>

 

> back to the alphabetical list of elements

   

 

 

 

back to top