HTML select multiple Attribute

HTML <select> tag : A drop-down list that allows multiple selections

Definition and Usage

The multiple attribute is a boolean attribute.

When present, it specifies that multiple options can be selected at once.

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.

    Browser Support

    Attribute
    multiple Yes Yes Yes Yes Yes

    Syntax

    <select multiple>

    ❮ HTML <select> tag