<html>
<body>
<p>Try navigating the links below by using the "Tab" button on you keyboard before and after you click the "Change TabIndex" button.</p>
<p><a id="myAnchor1" href="../index.html">Link 1</a></p>
<p><a id="myAnchor2" href="../index.html">Link 2</a></p>
<p><a id="myAnchor3" href="../index.html">Link 3</a></p>
<input type="button" onclick="myFunction()" value="Change TabIndex">
<script>
function myFunction() {
document.getElementById("myAnchor1").tabIndex = "3";
document.getElementById("myAnchor2").tabIndex = "2";
document.getElementById("myAnchor3").tabIndex = "1";
}
</script>
</body>
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_html_tabindex by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 05 Jun 2019 14:04:12 GMT -->
</html>