Navigation

The HTML <nav> element is used to designate the main navigation links or the main menu system on your page. You are not required to put all links on your page into this kind of tag, just your main links. Its usefulness comes into play when certain software technologies accessing your document need to bypass this tag or treat it with specific behavior.

NOTE: This new element is HTML5 and will be a standardized element in 2014.

Example:

<nav id="mylinkset1">
  <p>Main links on my page wrapped in the nav element.</p>
  <a href="index.html">Home</a> &bull;
  <a href="services.html">Services</a> &bull;
  <a href="portfolio.html">Portfolio</a> &bull;
  <a href="contact.html">Contact</a>
</nav>

No comments:

Post a Comment