HTML <select> multiple attribute
HTML <select> tag
Example
Allow multiple selection in a drop-down list:
<select multiple="multiple">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
</select>
|
Try it yourself!
|
Definition and Usage
The multiple attribute specifies that multiple options can be selected at the
same time.
Selecting multiple options vary in different operating systems and browsers:
- For windows: Hold down the control (ctrl) button to select multiple
options
- For Mac: Hold down the command button to select multiple options
Because of the different ways of doing this, and because you have to inform
the user that multiple selection is available, it is more user-friendly to use
checkboxes instead.
Tip: The multiple attribute can be used together with the
size attribute to define the number of options
to be displayed.
Browser Support

The multiple attribute is supported in all major browsers.
Syntax
<select multiple="value">
|
Attribute Values
Value |
Description |
multiple |
Specifies that multiple options can be selected |
HTML <select> tag
Learn how your website performs under various load conditions
 |
|
WAPT
is a load, stress and performance testing tool for websites and web-based applications.
In contrast to "800-pound gorilla" load testing tools, it is designed to minimize the learning
curve and give you an ability to create a heavy load from a regular workstation.
WAPT is able to generate up to 3000 simultaneously acting virtual users using standard hardware configuration.
Virtual users in each profile are fully customizable. Basic and NTLM authentication methods are supported.
Graphs and reports are shown in real-time at different levels of detail, thus helping to manage the testing process.
Download the free 30-day trial!
|
|