HTML CSS Reference/HTML Attributes Reference/tabindex

Материал из Web эксперт
Перейти к: навигация, поиск

"tabindex" Example

   <source lang="html4strict">
   

<HTML> <head><Title>Example For tabindex</Title></head> <BODY> <form> First Name: <input type="text" tabindex="1"> Last Name: <input type="text" tabindex="4"> Address: <input type="text" tabindex="3"> Suite/Apt: <input type="text" tabindex="2"> City, State and Zip Code: <input type="text" tabindex="5">,

                         <input type="text" tabindex="6"> 
                         <input type="text" tabindex="7">

</form> </BODY> </HTML>


     </source>
   
  


tabindex is applied to

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Applied_To |<a> <acronym> | | |<address> <applet> | | |<area> | | | |

| |
<body> |

| |<button> |

| |
|

| |<custom>

| | | |

| |<dir>
| | |
| | | <fieldset> | | | <form> | | |<frame> <frameset> | | |<hn>
|

| | <iframe> | | |<img> <input type="button"> | | |<input type="checkbox"> <inputtype="file"> | | |<input type="image"> <input type="password"> | | |<input type="radio"> <input type="reset"> | | |<input type="submit"> <input type="text"> | | | <isindex> | | | <label> |

| |<legend>
  • | | |<listing> <marquee> | | |<menu> <object> | | |

      | | |

                                                            |
      |                |                                                    |
      |                |                                                     |
      |                |<select>                                               |
      |                |                                                |
      |                |                                                 |
      |                |                                                  |
      |                |<tbody>                                                   |
      |                |                             
        | | | <xmp> | +----------------+--------------------------------------------------------------+ </source>

        "tabindex" Syntax and Note

        <source lang="html4strict"> Note:

        This attribute assigns the tab order.

        Syntax:

        <element tabindex="value"> . . . </element>


        </source>

      |

      | |<textarea> <tfoot> |

      | |
      <thead> | | |