Creates a dropdown list of elements with single or multiple options to select from.
autofocus
represents the dropdown list gets automatically focus when the page loads.
- none
disabled
represents the dropdown list that gets disabled when the page loads.
- none
form
represents to which form the dropdown list belongs.
- form_id - id of the <form> element.
multiple
represents multiple options that can be select at one time
- none
name
represents the name of the dropdown list.
- text
required
represents this field is mandatory. The value has to be selected.
- none
size
represents how many options of the dropdown list will be visible when the page loads.
- none
HTML select Example:
Edit Example