<FORM...>
     ACTION="URL for Processing"
     CLASS="Style Sheet Class"
     ENCTYPE="MIME type for form contents"
     ID="Unique Identifier"
     LANG="Language descriptor"
     LANGUAGE="Scripting Language descriptor"
     METHOD="Get|Post"
     NAME="Element Identifier"
     STYLE="Style Sheet Setting"
     TARGET="Frame|Window name|_top|_blank|_self|_parent"
     TITLE="Title of element"
     onClick="Script Function"
     onDblClick="Script Function"
     onDragStart="Script Function"
     onFilterChange="Script Function"
     onHelp="Script Function"
     onKeyDown="Script Function"
     onKeyPress="Script Function"
     onKeyUp="Script Function"
     onMouseDown="Script Function"
     onMouseMove="Script Function"
     onMouseOut="Script Function"
     onMouseOver="Script Function"
     onMouseUp="Script Function"
     onSelectStart="Script Function"
     onReset="Script Function"
     onSubmit="Script Function"
>
...
</FORM>

Description

De-limits a form in the document, to enable user input or interaction.

Attributes

Attribute Description
ACTION Specifies a URL location (e.g. of a cgi script, or an .asp file) that handles the data provided in the form.
CLASS Sets the style sheet class (specified in an in-line, linked or imported style sheet) to be applied to the element.
ENCTYPE Specifies a MIME type that the contents of the form should be encoded into to be sent for processing.
ID Sets a unique identifier for the element, allowing it to be referenced within scripting functions, or to specify a style sheet setting, set using a #<style_class> class selector.
LANG Specifies the language (using an ISO country code derived classifier) that the element is using, for browsers that support document localisation.
LANGUAGE Sets the scripting language that any in-line scripting events are written in.
METHOD Specifies the method employed by the server side function that processes the script.
NAME Sets a unique identifier for the form, which can be used to identify the form in scripting functions (through the forms collection).
STYLE Sets in-line style sheet settings for the element, which will over-ride any set in a <STYLE> block, or externally linked to the document.
TARGET Specifies a window or frame name which will be used as the target for any links in the document that don't expressly state a TARGET attribute. _top, _blank, _self and _parent are reserved TARGET attributes and are:
_top
The top-most window (loading the new document over all existing visible frames
_blank
Loads a new-unnamed window to display the document
_self
Loads the new document in the existing window/frame
_parent
Loads the new document in the parent frame of the current frame (normally identical to _top, except in the case of document nested frames
TITLE Specifies an informational title for the element. The contents of the TITLE attribute may be presented as a Tool-Tip by some browsers.

Scripting Events

Event Description
onClick Fired whenever the user clicks the element (or its contents) with the mouse
onDblClick Fired whenever the user double-clicks the element (or its contents) with the mouse (the double-click speed is dependant on the users system settings).
onDragStart Fired when the users initiaties dragging of the element (or it's contents)
onFilterChange Fired whenever a filter is applied to an element, or whenever the properties of an applied filter are changed.
onHelp Fired whenever the user presses 'F1' (for help) and the element has the users current focus.
onKeyDown Fired when the user presses a key (only when the key is actually pressed) when the element has the focus.
onKeyPress The onkeypress event is similar to the onkeydown event, except that it returns the UNICODE value of the key or keys being pressed when the event occurs.
onKeyUp The onkeyup event is fired when a previously pressed key is released while the referenced element has the focus.
onMouseDown The onmousedown event fires whenever the user presses a button on the mouse, with the event being initially fired for the element that has the focus when the mouse button is clicked, and bubbling up through the element objects until an onmousedown event handler is found.
onMouseMove The onmousemove event occurs whenever the users mouse moves over the element.
onMouseOut The onmouseout event fires when the users mouse leaves the area defined by the referenced element.
onMouseOver The onmouseover event fires when the users mouse enters the area defined by the referenced element.
onMouseUp The onmouseup event fires after a users mouse button has been pressed and released.
onSelectStart The onselectstart event is fired whenever the users starts to select some text that is the contents of the referenced element.
onReset Fired when the contents of the form are reset (by the user pressing the reset button, or by a scripted reset of the form fields).
onSubmit Fired when the form is submitted (by the user pressing the submit button, or by a scripted submission).


See 'HTML Reference|Forms|<FORM>' for more information.