Untitled Document



 Introduction to HTML
 Structure of HTML
 Creating First HTML  Document
 Building Your HTML  Document
 Tables
 Frames
 Including Images into  Document
 Including Multimedia
 Developing HTML  FORMS
 Anatomy of a FORM
 Developing HTML  FORMS
 Anatomy of a FORM
 Simple Form Layout
 
 Simple Form Layout
 The INPUT elements
 
   The INPUT elements
   The Button Value
   The Reset Value
   The Submit Value
   The Image Value
   The Checkbox Value
   The Radio Value
   The Hidden Value
   The Text Value
   The Password Value
   Other Attributes
 The INPUT Tags
 The BUTTON Element
 
 The BUTTON Element
 The SELECT and OPTION  Elements
 
 The SELECT and  OPTION Elements
 The TEXTAREA Element
 
 The TEXTAREA  Element
 The LABEL Element
 
 The LABEL Element
 The FIELDSET and  LEGEND Elements
 
 The FIELDSET and  LEGEND Elements
 Tab Navigation
 
 Tab Navigation
 Access Keys
 
 Access Keys
 Using Style Sheet
 Understanding URLs
 Using JavaScript
 Using Java

Copyrights : Layout Galaxy All Rights Reserved
No part of this tutorial may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, electrostatic, magnetic tape, mechanical or otherwise, without prior permission in writing from Layout Galaxy.




  Developing HTML Forms > Tab Navigation

  Tab Navigation

The Tabindex attribute is for navigation through a Form by using the Tab key to move from one element to the next. Tabindex need not be used if you want to navigate in the order that the elements appear. If you want to navigate in some other order or if you want some elements to be left out of the tab order, this attribute is useful. To remove the element from the tab navigation order you could use the disable attribute. If you want it out of the order entirely without disabling it, assign it a negative value. Tabindex is not supported by Form elements.

Example:

<INPUT tabindex= "1" type= "text" name= "firstname">
<INPUT tabindex= "2" type= "text" name= "lastname">

Note: HTML 4 defines the following four rules as to how the elements should receive focus:

Those elements that support the TABINDEX attribute and assign a positive value to it are navigated first. Navigation proceeds from the element with the lowest tab value to the element with highest tab value.
Those elements that do not have a TABINDEX attribute defined are navigated next. These elements are navigated in the order they appear in the document.
Those elements that support the tabindex attribute and assign a negative value to it do not participate in the tabbing order.
Elements that are disabled do not participate in the tabbing order.

Back Next


Copyrights : Layout Galaxy All Rights Reserved
No part of this tutorial may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, electrostatic, magnetic tape, mechanical or otherwise, without prior permission in writing from Layout Galaxy.




17, Vadsarvala Nivas, 65-A, J. Nehru Road, Mulund (W), Mumbai - 400 080 INDIA
Tel : 91-22-25795588, 91-22-25780444 Fax : 91-22-25793397
Email : ionline@vsnl.com
© Image Online 2001-2003