Latest web development tutorials
 

HTML tabindex Attribute


Definition and Usage

The tabindex attribute specifies the tab order of an element (when the "tab" button is used for navigating).


Applies to

The tabindex attribute is part of the Global Attributes, and can be used on any HTML element.

Element Attribute
All HTML elements tabindex

Example

Links with a specified tab order:

<a href="http://www.w3ii.com/" tabindex="2">w3ii</a>
<a href="http://www.google.com/" tabindex="1">Google</a>
<a href="http://www.microsoft.com/" tabindex="3">Microsoft</a>
Try it Yourself »

Browser Support

Attribute
tabindex Yes Yes Yes Yes Yes