HTML tabindex attribute - HTML links Lesson 2 - Guide to HTML, XHTML Guide

Change Font Size: / / Directory List

19.2. HTML tabindex attribute

Tabindex attribute - on behalf of the use of "Tab" key to the order of traversal
  • Ergodic can use the Tab key to all pages and links form element, when traversing a link to, can press Enter. Traversal will be decided in accordance with the size of the order tabindex
  • Traversing to a links course, there will be surrounded Xuxiankuang link, then press the Enter button access to the links page.
  • Value:
    • Digital
  • Trackback Address: http://www.nt22.com/xhtml-html/attribute_tabindex/

Example

  <a Href = "http://www.nt22.com/xhtml-html/" tabindex = "1" /> 1 </ a> <a href = "http://www.nt22.com/about.html" tabindex = "3" /> 3 </ a> <a href = "http://www.nt22.com/xhtml-html/a/ ""2" tabindex => 2 </ a> <! - by consecutive "Tab", can change the focus position. traversal sequence is 1-2-3 .--> 

Examples of HTML tabindex attribute

Extended reading

HTML a label