HTML5 tabindex and html5tabindex
HTML5 tabindex attributes:
This attribute specifies the order of elements when the "tab" key is used for navigation.
Syntax structure:
<element tabindex="number">
Browser support:
(1). IE browser supports this attribute.
(2) Google Chrome supports this attribute.
(3) Firefox supports this attribute.
(4). Safari supports this attribute.
(5) operabrowser supports this attribute.
Differences between HTML4.01 and html5:
(1) In HTML5, The tabindex attribute can be used for any HTML element (it verifies any HTML element. But not necessarily useful ).
(2 ). in HTML4.01, The tabindex attribute can be used for: <a >,< area >,< button >,< input >,< object >,< select >,< textarea>.
Property value:
Value |
Description |
Number |
Specifies the order in which the tab key of the element is controlled (1 is the first ). |
Code example:
<! DOCTYPE html>
Original address: http://www.51texiao.cn/HTML5jiaocheng/2015/0618/4611.html
The most original address is: http://www.softwhy.com/forum.php? Mod = viewthread & tid = 10029.