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