We Recommend

HTML: The Definitive Guide HTML: The Definitive Guide
They teach you that learning HTML is like learning any other language and that reading a book of rules can only take you so far. Readers begin writing what may be their first Web page just two pages into the book's second chapter. From there on, they provide a wide range of HTML coding to allow readers to learn from good examples. The book includes a handy "cheat sheet" of HTML codes for quick reference.


Posted By

LeeRJohnson on 10/01/07


Tagged

navigation accessability accesskey


Versions (?)


Ordered Accesskey Navigation List


Published in: HTML 


A titled navigation block with a ordered list indicating the accesskey number.
Note: When using the accesskey model nine list items is the maximum.
I keep the homepage as #1 and the contact page as the last list item.


  1. <div id="NavigationID" class="navigation" title="Ordered Navigation">
  2. <h2 class="header">Ordered Navigation</h2>
  3. <ol class="list">
  4. <li><a id="a1" class="url" accesskey="1" href="/">Home</a></li>
  5. <li><a id="a2" class="url" accesskey="2" href="page2/">Page2</a></li>
  6. <li><a id="a3" class="url" accesskey="3" href="page3/">Page3</a></li>
  7. <li><a id="a4" class="url" accesskey="4" href="contact/">Contact</a></li>
  8. </ol>
  9. </div>

Report this snippet 

You need to login to post a comment.