HTML and CSS Reference
disabled ( disabled="disabled" in XHTML)
Indicates that the select element is initially nonfunctional. It can be reactivated with a
form=" id of the form owner
id of the form owner "
Not in HTML 4.01 . Explicitly associates the select control with its associated form (its
form owner ). With this method, the control does not need to be a child of the form element
that applies to it.
Not in HTML 4.01 . Indicates what kind of input mechanism would be most helpful for
users entering content into the form control. Applies to the text and search input types.
multiple ( multiple="multiple" in XHTML)
Allows the user to select more than one option from the list. When this attribute is absent,
only single selections are allowed.
Required . Defines the name for the select control. When the form is submitted to the
form-processing application, this name is sent along with each selected option value.
required ( required="required" in XHTML)
Not in HTML 4.01 . When present, the user must select an option before the form can be
Specifies the number of rows that display in the list of options. For values higher than 1,
the options are displayed as a scrolling list with the specified number of options visible.
When size="1" is specified, the list is displayed as a pop-up menu.