<OPTION...>
CLASS
="Style Sheet Class"
ID
="Unique Identifier"
LANG
="Language descriptor"
LANGUAGE
="Scripting Language descriptor"
NAME
="Element Identifier"
SELECTED
="Flag"
STYLE
="Style Sheet Setting"
TITLE
="Title of element"
VALUE
="Value to be Sent"
>
Creates a single option for a <SELECT>
drop-down box of choices.
Attribute | Description |
CLASS |
Sets the style sheet class (specified in an in-line, linked or imported style sheet) to be applied to the element. |
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. |
NAME |
Sets the name of the name/value pair for the option, sent with the form data for processing, or to identify the option in scripting functions. |
SELECTED |
A flag that specifies which <OPTION> element is selected upon initial display of the parent <SELECT> element. |
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. |
TITLE |
Specifies an informational title for the element. The contents of the TITLE attribute may be presented as a Tool-Tip by some browsers. |
VALUE |
Specifies the value of the name/value pair sent with the form for processing if the particular <OPTION> element is selected. If no VALUE="..." attribute is set, the value sent is the text displayed for the <OPTION> element. |
See 'HTML Reference|Forms|<OPTION>' for more information.