The following editor will bring you a comprehensive analysis of the tabindex attribute of HTML5. The editor thinks it is quite good, so I will share it with you now and give it as a reference for everyone. Come and have a look with the editor
XML/HTML Code复制内容到剪贴板 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <p tabindex="-1"> <a href="#" tabindex="3">Hello</a> <a href="#" tabindex="1">Hel</a> <a href="#" tabindex="2">Hell</a> </p> </body> </html>
PS:
•The jump order of tabindex is from small to small until big. If you directly click the option with the largest tab index in the module, it will jump to another place, or it will not jump.
The above is the detailed content of Comprehensive analysis of the tabindex attribute in HTML5. For more information, please follow other related articles on the PHP Chinese website!