- If specified provides an alternative method of activating the link
- Value set can be any number between 0 and 32767
- Element receives focus in tabindex order when tab is hit
- If two elements have same tabindex, first encountered receives focus first
- Tabindex values can be sparse: 0, 10, 32, 44 say
- Hitting Return activates the link in all browsers (need to enable in Safari)
- Can also be used with input of forms information and image areas
- Useful for accessibility
<p><a tabindex="1" href="java1.htm">Java1</a></p>
<p><a tabindex="2" href="java2.htm">Java2</a></p>
<p><a tabindex="3" href="java3.htm">Java3</a></p>
Java Example