From 82ba818ff456bcd6d56a06226e3f27e98fbb55c3 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 14 Aug 2025 22:58:58 -0500 Subject: removing all downloaded devdocs files --- devdocs/html/element%2Fnav.html | 105 ---------------------------------------- 1 file changed, 105 deletions(-) delete mode 100644 devdocs/html/element%2Fnav.html (limited to 'devdocs/html/element%2Fnav.html') diff --git a/devdocs/html/element%2Fnav.html b/devdocs/html/element%2Fnav.html deleted file mode 100644 index d8d5d024..00000000 --- a/devdocs/html/element%2Fnav.html +++ /dev/null @@ -1,105 +0,0 @@ -

<nav>: The Navigation Section element

The <nav> HTML element represents a section of a page whose purpose is to provide navigation links, either within the current document or to other documents. Common examples of navigation sections are menus, tables of contents, and indexes.

-

Try it

-
-
Content categories Flow content, sectioning content, palpable content.
Permitted content -Flow content.
Tag omission None, both the starting and ending tag are mandatory.
Permitted parents Any element that accepts flow content.
Implicit ARIA role navigation
Permitted ARIA roles No role permitted
DOM interface HTMLElement
-
-

Attributes

-

This element only includes the global attributes.

-

Usage notes

-
-

Examples

-
-

In this example, a <nav> block is used to contain an unordered list (<ul>) of links. With appropriate CSS, this can be presented as a sidebar, navigation bar, or drop-down menu.

-

html

-
<nav class="menu">
-  <ul>
-    <li><a href="#">Home</a></li>
-    <li><a href="#">About</a></li>
-    <li><a href="#">Contact</a></li>
-  </ul>
-</nav>
-
-

The semantics of the nav element is that of providing links. However a nav element doesn't have to contain a list, it can contain other kinds of content as well. In this navigation block, links are provided in prose:

-

html

-
<nav>
-  <h2>Navigation</h2>
-  <p>
-    You are on my home page. To the north lies <a href="/blog">my blog</a>, from
-    whence the sounds of battle can be heard. To the east you can see a large
-    mountain, upon which many <a href="/school">school papers</a> are littered.
-    Far up this mountain you can spy a little figure who appears to be me,
-    desperately scribbling a <a href="/school/thesis">thesis</a>.
-  </p>
-  <p>
-    To the west are several exits. One fun-looking exit is labeled
-    <a href="https://games.example.com/">"games"</a>. Another more
-    boring-looking exit is labeled <a href="https://isp.example.net/">ISP™</a>.
-  </p>
-  <p>
-    To the south lies a dark and dank <a href="/about">contacts page</a>.
-    Cobwebs cover its disused entrance, and at one point you see a rat run
-    quickly out of the page.
-  </p>
-</nav>
-
-
-
-

Result

-
- - -
-

Specifications

-
- - -
Specification
HTML Standard
# the-nav-element
-

Browser compatibility

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariWebView AndroidChrome AndroidFirefox for AndroidOpera AndroidSafari on IOSSamsung Internet
nav5124911.154.418411.14.21.0
-

See also

-
-

- © 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav -

-
-- cgit v1.2.3