html focus index code example
Example: html input tab sequence
<html>
<head>
<title>Controlling TAB Order</title>
</head>
<body>
<form>
Field 1 (first tab selection):
<input type="text" name="field1" tabindex=1 /><br />
Field 2 (third tab selection):
<input type="text" name="field2" tabindex=3 /><br />
Field 3 (second tab selection):
<input type="text" name="field3" tabindex=2 /><br />
</form>
</body>
</html>