Prentice Hall and Sun Microsystems. Personal use only; do not redistribute.
422
Chapter 16 Using HTML Forms
16.11 Controlling Tab Order
HTML 4.0 defines a
TABINDEX
attribute that can be used in any of the visual
HTML elements. Its value is an integer, and it controls the order in which
elements receive the input focus when the TAB key is pressed. Unfortu
nately, however, it is supported only by Internet Explorer. Nevertheless, you
can use
TABINDEX
even for pages that will be viewed by multiple browsers, as
long as the designated tabbing order is a convenience to the user, not a neces
sity for proper operation of the page.
Core Warning
As of version 4.7, Netscape does not support the
TABINDEX
attribute.
Listing 16.8 Tabindex.html
Controlling TAB Order
Controlling TAB Order
Field 1 (first tab selection):
Field 2 (third tab selection):
Field 3 (second tab selection):
Second edition of this book: www.coreservlets.com; Sequel: www.moreservlets.com.
Servlet and JSP training courses by book's author: courses.coreservlets.com.
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved