select
The <select> element allows user to select one or more values from list of values.
code | result |
---|---|
|
|
|
Selection ways depend from system. |
|
attributes
attribute | attribute |
---|---|
id, name | Name of element. |
required |
A boolean attribute, indicates that an option with a non-empty string value must be selected. |
value |
Currently selected value. |
multiple |
A boolean attribute, indicates that multiple options can be selected in the list. If it is not specified, then only one option can be selected at a time. Most browsers will show a scrolling list box when multiple is specified. |
size |
Specifies the number of rows in the list that should be visible at one time. Used when multiple is specified. Default values is 0. |
disabled |
A boolean attribute, indicates that the user cannot interact with the control. |
disabled |
A boolean attribute, indicates that the user cannot interact with the control. |
form |
Id of associated <form> element. |