HTML tabindex eigenschap
- Previous page style
- Next page title
- Go up one level HTML Global Attributes
Definitie en gebruik
tabindex
Eigenschap bepaalt de volgorde van het tab-toetsbediening (wanneer de "tab"-toets wordt gebruikt voor navigatie).
tabindex
Eigenschap kan worden gebruikt voor elk HTML-element (zal elk HTML-element valideren, maar misschien niet nuttig).
Raadpleeg ook:
HTML handleiding:HTML attributes
HTML DOM referentiehandleiding:HTML DOM tabIndex eigenschap
Example
Links with specified tab key order:
<a href="https://www.codew3c.com/" tabindex="2">W3School</a> <a href="http://www.google.com/" tabindex="1">Google</a> <a href="http://www.microsoft.com/" tabindex="3">Microsoft</a>
syntax
<element tabindex="number">
attribute value
value | description |
---|---|
number | Define the tab key control order of the element (1 is the first). |
Browser support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |
- Previous page style
- Next page title
- Go up one level HTML Global Attributes