OPTION HTML Element

Send Feedback

The OPTION element denotes one choice in a SELECT element. This element does not require a closing tag.

Attributes

Attribute Value Description
CLASS   Associates the element with a CSS style.
Note   Supported only for devices running Windows Mobile 2003 software or later.
ID   Uniquely identifies the element within a document.
Note   Supported only for devices running Windows Mobile 2003 software or later.
SELECTED   Specifies the selected option.
STYLE   Provides the definition of the CSS styles used for this element.
Note   Supported only for devices running Windows Mobile 2003 software or later.
VALUE String Specifies the option value. This value is submitted if the option is selected.

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.