contents.gifindex.gifprev1.gifnext1.gif

Using the FORM Tag

Here is an example of an HTML form utlizing the FORM tag.

<FORM METHOD="POST" ACTION="/cgi-bin/name.acu">

Please enter your name or leave the entry field blank for "anonymous":

<INPUT TYPE="text" NAME="username" SIZE=60>

<INPUT TYPE="submit" VALUE="Submit">

</FORM>

The FORM tag has two attributes that must be defined: METHOD and ACTION.

The <FORM> tag has many components: the INPUT tag, the TYPE attribute, single-line entry fields, multiple-line entry fields, check boxes and radio buttons, list boxes, submit and reset buttons, and hidden fields.