![]() |
Definition and UsageThe The Browser SupportSyntax
Attribute Values
|
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<div tabindex="1">Horje</div><br>
<div tabindex="3">Google</div><br>
<div tabindex="2">Microsoft</div>
<script>
// At start, set focus on the first div
document.getElementsByTagName('div')[0].focus();
</script>
<p tabindex="4"><b>Note:</b> Try navigating the elements by using the "Tab" button on your keyboard.</p>
</body>
</html>
html tabindex attribute |
How to add Links with a specified tab order | HTML Global Attributes |
Read Full: | HTML Global Attributes |
Type: | Develop |
Category: | Web Tutorial |
Sub Category: | HTML Global Attributes |
Uploaded by: | Admin |
Views: | 28 |
Reffered: https://www.w3schools.com/tags/att_global_tabindex.asp