Links with a specified tab order:
The tabindex attribute specifies the tab order of an element (when the "tab" button is used for navigating).
Attribute | |||||
---|---|---|---|---|---|
tabindex | Yes | Yes | Yes | Yes | Yes |
In HTML5, the tabindex attribute can be used on any HTML element (it will validate on any HTML element. However, it is not necessarily useful).
In HTML 4.01, the tabindex attribute can be used with: <a>, <area>, <button>, <input>, <object>, <select>, and <textarea>.
Value | Description |
---|---|
number | Specifies the tabbing order of the element (1 is first) |
HTML Tutorial: HTML Attributes
HTML DOM Reference: HTML DOM tabIndex Property