Menu Home

nav

osbo.com | HTML | Elements | nav

The nav HTML element represents a section of a page that links to other pages or to parts within the page.

Syntax

HTML

<nav attribute-name="attribute-value"></nav>

Attributes

Global

CSS

nav {
    display: block;
}

Examples

CSS

Web Hypertext Application Technology Working Group (WHATWG)