<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:
ACTION is the URL of the query server to which the
form contents will be submitted.
METHOD is the method used to submit the
fill-out form to a query server. Which method you use depends on
how your particular server works. The valid choices
are:
GET -- this is the default method and causes the
fill-out form contents to be appended to the URL as if they were
a normal query.
POST -- this method causes the fill-out form
contents to be sent to the server in a data body rather than as
part of the URL.
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.