The <FORM> tag is used to start and end a form designed for accepting user input and submitting it to some sort of CGI engine at the web server. Remember that the form tag must preceed all other form field tags or they will not be included in the form's submitted data.

Here is an example of the possible values you can place in a <FORM> tag.

< FORM METHOD= GET ACTION= URI     >
      POST ACTION= URI ENCTYPE= "multipart/form-data" >
METHOD
REQUIRED - Method is either GET or POST. GET encodes the data right into the URL, post stores the form data elsewhere.
ACTION
REQUIRED - This is the URI of the CGI engine at the web server that will process the form data.
ENCTYPE
When using the POST method, you can use designate the information as being of the MIME 'multipart/form-data' type.

 


Bookmark this page and SHARE:  

Search

Donations

Free Training