FORM
<FORM
ACTION=string
ENCTYPE=string
CLASS=string
ID=string
LANG=string
LANGUAGE=JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT
METHOD=GET | POST
NAME=string
STYLE=string
TARGET=string
TITLE=string
event = script
>
Specifies that the contained controls take part in a form.
-
ACTION=
-
Specifies the address to be used to carry out the action of the form. If none is specified, the base URL of the document is used.
-
ENCTYPE=
-
Specifies the format of the data being submitted by the form. The object model property for this attribute is called "encoding".
-
CLASS=
-
Specifies the class of the tag being defined. This is most often used to associated a sub-classed style sheet with the tag.
-
ID=
-
An SGML identifier used as the target for hypertext links or for naming particular elements in associated style sheets. Valid names to script with are any alphanumeric string that begins with a letter. Valid special characters include underbar "_".
-
LANG=
-
This specifies the language to use. The specifier is an ISO standard language abbreviation.
-
LANGUAGE=
-
Specifies the language that the current script is written in. JavaScript is the default for this attribute.
-
METHOD=
-
Indicates how the form data should be sent to the server; either GET or POST
-
NAME=
-
Specifies the name of the control, bookmark, or applet.
-
STYLE=
-
Specifies an in-line style sheet for the tag.
-
TARGET=
-
Specifies the window or frame to target the contents at.
-
TITLE=
-
The Title attribute is used to provide advisory information.
-
event
-
Can be one or more of these events:
onclick ondblclick
onhelp onkeydown
onkeypress onmousedown
onmousemove onmouseout
onmouseover onmouseup
onreset
onselectstart onsubmit
When programming the form, all control-like elements are added to the form as named items. In addition, these items are exposed through the Item method on the form.
This element is a block element.
Both the start and end tags are required.