Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<div tabindex="1">W3Schools</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>
<!-- Mirrored from www.mdssup.ma/tags/tryit.asp?filename=tryhtml5_global_tabindex by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 05 Sep 2022 15:14:41 GMT -->
</html>