asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Language References > HTML Elements > NAV Element

<nav> Element


Represents a section of navigation links.HTML 5

HTML Syntax

NOTE: Both start and end tags are required.

Remarks

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

A document may have several nav elements, for example, one for site navigation and one for intra-page navigation.

Not all groups of links on a page need to be in a nav element, though. The element is primarily intended for sections that consist of major navigation blocks.

User agents, such as screen readers targeting disabled users, can use this element to determine whether to omit the initial rendering of navigation-only content.

Attributes

The <nav> element has no attribute of its own, but supports global attributes common to all HTML elements.

Example

The following example shows how the <nav> element may be used.



 Show me 

External References

See Also

ARTICLE   ASIDE   HEADER   FOOTER   MAIN   SECTION



Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note