Web Hosting Directory | Web Hosting Resources | Webmaster Resources | Domain Tools | Search Engine Marketing | Forums
  Signup
Today: 1,222   Yesterday: 1,015   Max: 1,872   Total: 464,275   Current Users : 27 (Member 0) 
DOMAIN TOOLS

WEBMASTER TOOLS

RELATED ARTICLES

SUBMIT AN ARTICLE

Write for us and get publicity, link to your website, and best of all get paid. Please visit our writers page for details.


LINK TO US

Link to us and earn points for each visitor you bring to us. Please visit our link partner page for details.

 

Attribute for <SELECT ...>
TABINDEX = integer

Usage Recommendation
use it, but don't rely on it

TABINDEX is supported by MSIE 4.x and higher and Netscape 6.

normal tab order: the order the fields appear in HTMLNormally, when the user tabs from field to field in a form (in a browser that allows tabbing, not all browsers do) the tab order is the order the fields appear in the HTML code.

with TABINDEX, tab order is anything you likeHowever, sometimes you want the tab order to flow a little differently. In that case, you can number the fields using TABINDEX. The tabs then flow in order from lowest TABINDEX to highest.

This code:

<TABLE BORDER CELLPADDING=3 CELLSPACING=5 BGCOLOR="#FFFFCC">
<TR>
     <TD>name: <INPUT NAME="realname" TABINDEX=1></TD>
     <TD ROWSPAN=3>comments<BR>
     <TEXTAREA COLS=25 ROWS=5 TABINDEX=4></TEXTAREA></TD></TR>
<TR> <TD>email: <INPUT NAME="email" TABINDEX=2></TD></TR>
<TR> <TD>department: <SELECT NAME="dep" TABINDEX=3>
     <OPTION VALUE="">...
     <OPTION VALUE="mkt">Marketing
     <OPTION VALUE="fin">Finance
     <OPTION VALUE="dev">Development
     <OPTION VALUE="prd">Production</SELECT></TD></TR>
</TABLE>

produces this form:

name: comments
email:
department:

TABINDEX can also be used with <A ...>, <INPUT ...>, <TEXTAREA ...>, and <BUTTON ...>.



Copyright 1997-2002 Idocs, Inc. Written by Miko Sullivan.

 
 
 
What is your major source of website traffic?
 
 
 
 
 
 

ADVERTISEMENT

 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2008 Broadband Media, Inc. All rights reserved.