The FORM Tag


The <FORM> tag specifies a fill-out form within an HTML document. More than one fill-out form can be in a single document, but forms cannot be nested.

<FORM ACTION="url" METHOD="get/post"> ... </FORM>

The attributes are as follows:

Inside a FORM you can have anything except another FORM. Specifically, INPUT, SELECT, and TEXTAREA tags are used to specify interface elements within the form.

Example:

<FORM ACTION="http://members.aol.com/cgi-bin/run_me.pl"
	METHOD="POST">
The above example tells the browser, once the "submit" button has been pressed, to pass the parameters to the program run_me.pl via the post method located on the server members.aol.com in the cgi-bin directory.