HTML tabindex Eigenschaft
- Previous Page style
- Next Page title
- Go to Parent Level HTML-Globale Attribute
Definition und Verwendung
tabindex
Die Eigenschaft legt die Reihenfolge der Tab-Tastensteuerung des Elements fest (wenn mit der "Tab"-Taste navigiert wird).
tabindex
Die Eigenschaft kann für jedes HTML-Element verwendet werden (überprüft jedes HTML-Element, ist jedoch möglicherweise nicht nützlich).
Weitere Informationen siehe:
HTML-Lehrkurs:HTML Attributes
HTML DOM Referenzhandbuch:HTML DOM tabIndex Eigenschaft
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 to Parent Level HTML-Globale Attribute