<FORM> Form

Description
The <FORM> tag provides a means of getting input from the user and sending to a web server for processing or to an e-mail address. All forms should at the minimum have at least a submit button which sends the form data when clicked. The various form elements available include text fields, password fields, checkboxes, radio buttons, text area, and dropdown selection list.

The <FORM> tag's ACTION attribute denotes the destination URL where the form data will be sent. The METHOD attribute has 2 possible values: GET and PUT. When set to GET, the data will be sent as part of the URL (QUERY_STRING environment variable). When set to PUT, data will be sent as a message (the program's STDIN).

The ENCTYPE attribute is the MIME content type the form data is encoded in. It determines how the form data will be sent via the URL or e-mail. The default value when this attribute is not explicitly included is "application/x-www-form-urlencoded".

Syntax
<FORM [ACTION=destination URL of the form data to be submitted] [METHOD=get|put] [ENCTYPE=form data's MIME content type]>