HTML tabindex ÊôÐÔ
ʵÀý
´øÓÐÖ¸¶¨ tab ¼ü˳ÐòµÄÁ´½Ó£º
<a href="http://www.w3school.com.cn/"tabindex="2">W3School</a> <a href="http://www.google.com/"tabindex="1">Google</a> <a href="http://www.microsoft.com/"tabindex="3">Microsoft</a>
ä¯ÀÀÆ÷Ö§³Ö
¼¸ºõËùÓÐä¯ÀÀÆ÷¾ù tabindex ÊôÐÔ£¬³ýÁË Safari¡£
¶¨ÒåºÍÓ÷¨
tabindex ÊôÐÔ¹æ¶¨ÔªËØµÄ tab ¼ü¿ØÖÆ´ÎÐò£¨µ± tab ¼üÓÃÓÚµ¼º½Ê±£©¡£
ÌáʾºÍ×¢ÊÍ
×¢ÊÍ£ºÒÔÏÂÔªËØÖ§³Ö tabindex ÊôÐÔ£º<a>, <area>, <button>, <input>, <object>, <select> ÒÔ¼° <textarea>¡£
Óï·¨
<element tabindex="number">
ÊôÐÔÖµ
| Öµ | ÃèÊö |
|---|---|
| number | ¹æ¶¨ÔªËØµÄ tab ¼ü¿ØÖÆ´ÎÐò£¨1 ÊǵÚÒ»¸ö£©¡£ |