Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
- Attribute of
- The Role Of In HTML Forms (To Create Drop-Down Lists)
- What does
- Defines the order of selection when the tab key is pressed.
Setting the Behavior of the Tab key
tabindex is used to determine the order of selection when the
<select> is in focus, and the tab key is pressed.
For more information about
tabindex, see the Forms Usability and Accessibility guide.
Browser Support for tabindex