Introduction
Text
Formatting
Links
Lists
Images
Tables
Frames
Forms
Interacting with Forms
Form Tag
Text
Checkbox
Radio
Password
Hidden
Submit
Image
Reset
Select
Textarea
Conclusion


Input Tag: Submit
The submit field is a button that triggers the ACTION attribute in the <FORM> tag and send the information to the CGI script. The basic password field code will look like this:

<INPUT TYPE="submit">

You can further customize it by adding more attributes to the <INPUT> tag.

The NAME attribute assigns a name to this input field. The program you will use to process this information will need to know the name of the field.

The VALUE attribute is what will be displayed on the button.

The TABINDEX attribute specifies the order in which the field will be activated by pressing the tab button.

Here is the code for an example of a complete submit field:

<FORM ACTION="form_img.html">
<INPUT TYPE="submit" NAME="enter" VALUE="Enter">
</FORM>


This is how it will look:


back  next

© Copyright 2000-2002 by Pepmint.com. All Rights Reserved

Search Pepmint.com

home :: tutorial :: portfolio :: links :: hammies :: guestbook :: contact