I have a paragraph with various html elements. Some links, some input boxes, etc. The TAB button changes focus from the current element to the next html element: it jumps from link to link. Is it possible to set a specific html element to be “skipped” from such focus from the TAB button?
I have a paragraph with various html elements. Some links, some input boxes, etc.
Share
The
tabindexattribute controls tabbing. Set it to-1and the tab key will not stop on that element.Set it to a non-negative number and you can control the tab order. From the W3C spec:
In HTML5 you can use the
tabindexattribute on any element. From HTML5 differences from HTML4: