You are here: irt.org | FAQ | HTML | Q2084 [ previous next ]
In IE 4+ and NN 6+ you can use the TABINDEX attribute to control the tab order inside a form. It takes a numerical value which specifies the tab order of the element, e.g.:
<form action="..." method="post"> <input tabindex="1" type="text" name="field1"> <input tabindex="4" type="text" name="field4"> <input tabindex="3" type="text" name="field3"> <input tabindex="2" type="text" name="field2"> <input tabindex="5" type="submit" name="submit"> </form>
You can read more in the HTML 4.0 Specification.