Check out example codes for "html input tab sequence". It will help you in understanding the concepts better.

Code Example 1

<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>

Learn ReactJs, React Native from akashmittal.com