This is the drop down list box structure.
align=
deprecated
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
"...defining whether the top or middle or bottom of the graphic should be aligned with the baseline for the text line in which the IMG element appears.
With ALIGN=LEFT, the graphic will float down and over to the current left margin, and subsequent text will wrap around the right hand side of the graphic. Likewise for ALIGN=RIGHT, the graphic aligns with the current right margin and, and text wraps around the left." (HTML 3.0)
|
| "bottom"
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
|
| "left"
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
|
| "middle"
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
|
| "right"
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
|
| "top"
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
|
autoactivate
 |
0.9 |
|
|
|
|
|
This is a WebTV tag:
"Use the autoactivate attribute to activate the list automatically when the viewer selects it.
When the autoactivate attribute is not specified for a list, the viewer must press the GO button on the remote control (or Return on a keyboard) to activate the list and select an item from it. Also, when autoactivate is not specified, the arrow buttons on the remote control move the Highlight rectangle to the next selectable item on the web page.
When the autoactivate attribute is specified for a list or when the viewer has activated the list, the viewer can use the arrow buttons to move up and down within the list. The viewer can select an item by pressing the GO button.
You can use the autoactivate attribute with the multiple attribute or with the size attribute for sizes greater than 1."
|
bgcolor=
 |
0.9 |
1.2 |
|
|
|
|
This is a WebTV tag:
"Use the bgcolor attribute to set the background color for the list. The default value for bgcolor is #afafaf. You can use the bgcolor attribute with the multiple attribute or with the size attribute for sizes greater than 1."
|
class=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
|
|
disabled=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
HTML 4.0
"When set for a form control, this boolean attribute disables the control for user input." (W3C HTML 4.0)
HTML 3.0
"When present, the menu should be rendered as normal, but can't be modified by the user. Where practical the rendering should provide a cue that the menu is disabled e.g. by graying out the text, changing the color of the background or similar." (HTML 3.0)
|
error
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
"This attribute specifies an error message explaining why the menu's current selections are incorrect. Further error messages can be attached to individual options. When this attribute is missing, the menu can be assumed to be ok. User agents are recommended to provide a cue to indicate that the menu is in error." (HTML 3.0)
|
exclusive
 |
0.9 |
1.2 |
|
|
|
|
This is a WebTV tag:
"Use the exclusive attribute to prevent duplicate entries in the list."
|
height=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
"Optional suggested height for the image. By default, this is given in pixels." (HTML 3.0)
|
id=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
|
|
lang=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
|
list of language codes
list of country codes
|
md=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
"Specifies a message digest or cryptographic checksum for the associated image specified by the SRC attribute. It is used when you want to be sure that the image is indeed the same one that the author intended, and hasn't been modified in any way. For instance, MD="md5:jV2OfH+nnXHU8bnkPAad/mSQlTDZ", which specifies an MD5 checksum encoded as a base64 character string. The MD attribute is generally allowed for all elements which support URI based links." (HTML 3.0)
|
multiple=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
1.0 |
2.1 |
3.0 |
|
|
 |
0.9 |
1.2 |
|
|
|
|
"When set, this boolean attribute allows multiple selections. When not set, the SELECT element only permits single selections. Traditionally, visual user agents render multiple-selection elements as list boxes, while single-selection elements are rendered as drop-down menus." (W3C HTML 4.0)
This is stipulated by Microsoft IE.
<form>
<select name="dogs" size="5" multiple>
<option value="shih_tsu">Shih Tsu
<option value="poodle">Poodle
<option value="bichon_frise">Bichon Frise
<option value="maltese">Maltese
<option value="Lhasa_Apso">Lhasa Apso
<option value="Silkey Terrier">Silkey Terrier
<option value="Papillon">Papillon
</select>
</form> |
Select several items from the list by holding down "Ctrl" and clicking on an item.
|
|
name=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
1.0 |
2.1 |
3.0 |
|
|
 |
0.9 |
1.2 |
|
|
|
|
"The formal name of the menu which is used in the form's contents list." (HTML 3.0)
|
onblur=
 |
0.9 |
1.2 |
|
|
|
|
"Defines JavaScript code to execute when the select element loses focus." (WebTV 1.2 DTD)
|
onChange=
 |
0.9 |
1.2 |
|
|
|
|
"Defines JavaScript code to execute when the select element loses focus and its value is modified." (WebTV 1.2 DTD)
|
onClick=
 |
0.9 |
1.2 |
|
|
|
|
"Defines JavaScript code to execute when the user selects the button." (WebTV 1.2 DTD)
|
onFocus=
 |
0.9 |
1.2 |
|
|
|
|
"Defines JavaScript code to execute when the user selects the select element or tabs to it." (WebTV 1.2 DTD)
|
exclusive=
 |
0.9 |
1.2 |
|
|
|
|
This is a WebTV tag:
"Use the selcolor attribute to set the background color for the selections in the list. The default value for selcolor is #eaeaea. You can use the selcolor attribute with the multiple attribute or with the size attribute for sizes greater than 1."
|
several
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
When more than one option can be selected as stipulated by the <option> tag, the several attribute is needed.
|
showempty
 |
0.9 |
1.2 |
|
|
|
|
This is a WebTV tag:
"Use the showempty attribute to display empty lists with the "empty" string. You can use the showempty attribute with the multiple attribute or with the size attribute for sizes greater than 1."
|
size=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
1.0 |
2.1 |
3.0 |
|
|
 |
0.9 |
1.2 |
|
|
|
|
<form>
<select name="dogs" size="1" multiple>
<option value="shih_tsu">Shih Tsu
<option value="poodle">Poodle
<option value="bichon_frise">Bichon Frise
<option value="maltese">Maltese
<option value="Lhasa_Apso">Lhasa Apso
<option value="Silkey Terrier">Silkey Terrier
<option value="Papillon">Papillon
</select>
</form> |
Select several items from the list by holding down "Ctrl" and clicking on an item.
|
|
| "size" |
|
src=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
"The SRC attribute is used for graphical menus to specify the URI for the image. Its syntax is the same as that of the HREF attribute of the tag." (HTML 3.0)
|
tabindex=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
"This attribute specifies the position of the current element in the tabbing order for the current document. This value may be a positive or negative integer." (W3C HTML 4.0)
|
text=
 |
0.9 |
1.2 |
|
|
|
|
This is a WebTV tag:
"Use the text attribute to set the color of the text for the items in the list. You can use the text attribute with the multiple attribute or with the size attribute for sizes greater than 1."
|
units=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
"This optional attribute specifies the units for the width and height attributes. It is one of: units=pixels (the default) or units=em (the width of the letter "m") which scales with the font size. " (HTML 3.0)
|
usestyle=
 |
0.9 |
1.2 |
|
|
|
|
This is a WebTV tag:
"Use the usestyle attribute so that the text in the list is rendered in the current style in effect for the page."
|
width=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
"Optional suggested width for the image. By default, this is given in pixels." (HTML 3.0)
|