Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<h1>The Element Object</h1>
<h2>The tabIndex Property</h2>
<a href="https://www.w3schools.com/"
tabindex="2">W3Schools</a><br>
<a href="http://www.google.com/"
tabindex="1">Google</a><br>
<a href="http://www.microsoft.com/"
tabindex="3">Microsoft</a>
<p>The tab order of the first link is:</p>
<p id="demo"></p>
<script>
let order = document.getElementsByTagName("A")[0].tabIndex;
document.getElementById("demo").innerHTML = order;
</script>
</body>
</html>