<nav> element – represents a group of navigational links.

Usage: typically used to contain links to other documents or other spots within the current document. We often code a series of links as an unordered list (and then apply styles so the list appears either vertically or horizontally per the page design).

Permitted Content: must not appear as a descendent of the <address> element.

Tag omission: both start and end tag must be present.

Example code:

<li><a href=”#”>Home</a></li>
<li><a href=”#”>About</a></li>

Example page (opens in a new tab/ window – view source code):

Default display properties: display: block.

Common Attributes: typical global attributes only.

Permitted Parent Elements: any element which can containĀ flow elements.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.