HTML <select> multipleAttribute
Examples
Allow multiple selections in a drop-down list:
<select multiple>
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="opel">Opel</option>
<option value="audi">Audi</option>
</select>
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="opel">Opel</option>
<option value="audi">Audi</option>
</select>
Try it yourself »
Browser Support
![]()
![]()
![]()
![]()
![]()
All major browsers support the multiple attribute.
Definition and Usage
The multiple attribute is a boolean attribute.
The multiple attribute specifies that multiple options can be selected at once.
Differences in selecting multiple options across different operating systems and browsers:
- For Windows: hold down the Ctrl button to select multiple options
- For Mac: hold down the command button to select multiple options
Due to the above differences, and because users need to be informed that multiple selections are possible, a more user-friendly approach is to use checkboxes.
Differences between HTML 4.01 and HTML5
None.
Differences between HTML and XHTML
In XHTML, attribute minimization is forbidden, and the multiple attribute must be defined as <select multiple="multiple">.
Syntax
<select multiple>
HTML <select> Tag Other Extensions