Defines a form  - <FORM>   -  </FORM>

Previous- FONT - Font  |  Next-FRAME - Frame

Description
Use the FORM tag to create a form in which the elements can be set to return results to the server. The results are sent as a name(defined for each input on the form) and value using one of two methods - GET (Default) and POST. When GET is used, the name/value pairs are submitted appended to the url of the form's action. When POST is used, the name/value pairs are embedded within the HTTP header and can not be so easily viewed. Generally speaking each form must have a method attribute and an action attribute, and needs at least one <INPUT> and at least one <SUBMIT>.
Attributes
NameValuesDescription
accept-charsetstring
actionstringForm action
classclassnameClass of the element which is used to associate the element with a style sheet.
dirltr|rtlThe direction in which text flows when surrounded by text which flows in different directions.
enctypestring
event_namescript_codeDefines script to run on event such as OnMouseOver
idstringA unique name to identify an element.
langlanguage_typeThe ISO description for the language of the element.
languagejavascript|jscript|vbscript|vbs
methodget|postForm posting method
namestringNames a tag, particularly important in client side progamming and essential when submitting form data.
stylestringSpecifies style information for the element.
targetwindow_name|_parent|_blank|_top|_selfWindow or frame where the new page should be loaded.
titlestringTitle for element which is often displayed as a tool-tip when the cursor hovers over the element.

Example
<form name="myform" action="" method="post" >
name : <input type="text" name="myname">
<input type=submit value="click to submit">
</form>
Will be displayed as :
name :

Compatability
HTMLNETSCAPEINTERNET EXPLORER
4.1N2N3N4N6IE3IE4IE5IE6
YES YES YES YES NO YES YES NO NO

Previous- FONT - Font  |  Next-FRAME - Frame