Introduction

Forms are used to enable viewers to interact with your web site. For example, Forms can allow viewers to search the site, order a product, enter a password, or provide feedback.

Every form comprises two parts:

  1. The HTML page with the FORM fields
  2. The program or script that processes the FORM data

Viewers enter information into the Form fields and click the Submit button to send the information to the web server. The web server processes the data based on the script associated with the Form.

General format

< HTML >
< HEAD >
< TITLE > forms various < /TITLE >
< HEAD >
 
< BODY >
< FORM >
data submissioncgi or MAILTO:
 
data input
(the 'Form Object')
either:
text, password, text box
radio buttons, or check boxes
drop-down, or scrolling lists
 
< INPUT TYPE=submit > the 'submit' button
 
< INPUT TYPE=reset > a 'reset' button
 
< /FORM >
 
< /BODY >
< /HTML > >