Learn HTML Code Tutorial Reference Guide

Attribute for <INPUT ...>
ACCESSKEY = "text string"

ACCESSKEY specifies a shortcut key to go directly to the input field. The key is pressed along with the ALT key. For button style fields, using the key is like pressing the button. So, in the form produced with this code:

<INPUT TYPE=SUBMIT 
    ACCESSKEY="g"
    VALUE="Go!"
    >

You can submit the form by hitting ALT-g:

For text entry fields, the key takes the cursor to that field. So with this code:

color: <INPUT TYPE=INPUT 
    NAME="color"
    ACCESSKEY="c"
    >

ALT-c takes you to the input field:

color:
 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial