action="URL"
Defines an URL to which the output of the form is directed.
This is generally a CGI script or some other program capable of processing the information
gathered by the form. The access protocol set for the target URL,
along with the enctype
and method command parameters determine the
way in which gathered information is submitted and processed.
If no action parameter is
included, then the URL of the HTML document which
includes the form, itself, becomes the target of the form.
enctype="data encoding format"
Defines the format to be used to transmit user form responses to the
host server if the protocol provided by the action
command parameter does not require a specific format. Generally, this parameter
is not necessary if data is MIME encoded.
method="get|post"
Defines the method by which the form contents will be transmitted to the host server.
Where:
- get -
is the default method - may require an enctype.
- post -
is the generally preferred method which formats data using MIME encoding type
application/x-www-form-urlencoded.