Easy Tutorial
❮ Att Video Src Att Colgroup Valign ❯

HTML <select> multiple Attribute

HTML <select> Tag

Example

Allow multiple selections in the dropdown list:


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:

Due to these differences, and to inform users 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

❮ Att Video Src Att Colgroup Valign ❯