HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

tabindex

Description

The tabindex attribute for HTML allows authors to indicate that an element is supposed to be focusable, whether it is supposed to be reachable using sequential focus navigation and, optionally, to suggest where in the sequential focus navigation order the element appears.

Syntax

tabindex="value"
ValueDescription
negativeno sequential focus
omitteduser agent decides focus
positivesequential focus with order by number
zerosequential focus with order by placement

Examples

1 · negative

2 · omitted

3 · positive

4 · zero