FORM HTML Element

Send Feedback

The FORM element specifies that the contained controls are part of a form. This is a block element and requires a closing tag.

Attributes

Attribute Value Description
ACTION URL Specifies the URL FORM content being sent for processing.
CLASS   Associates the element with a CSS style.
Note   Supported only for devices running Windows Mobile 2003 software or later.
ENCTYPE MIME Always defaults to application/x-www-form-urlencoded, because INPUT TYPE=FILE is not supported.
ID   Uniquely identifies the element within a document.
Note   Supported only for devices running Windows Mobile 2003 software or later.
METHOD Get Specifies how form data is sent to the server, appends arguments to the action URL, and opens it like an anchor. If the ACTION attribute contains a question mark and a query string, Internet Explorer Mobile sends the action URL (including its question mark and query string) along with the arguments.
METHOD Post Sends data through an HTTP Post transaction.
NAME String Specifies the FORM name so that script can refer to it.
ONRESET   An event that occurs when a form is reset.
Note   Supported only for devices running PocketPC 2002 and Smartphone 2002 software or later.
ONSUBMIT   An event that occurs when a form is submitted.
Note   Supported only for devices running PocketPC 2002 and Smartphone 2002 software or later.
STYLE   Provides the definition of the CSS styles used for this element.
Note   Supported only for devices running Windows Mobile 2003 software or later.
TARGET _blank  
TARGET _parent  
TARGET _top  

Requirements

Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later

See Also

Internet Explorer Mobile HTML Elements

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.