HTML 5: The Markup Language (ARIA Edition)

selectoption-selection form control # T

The select element represents a control for selecting among a list of options.

Content model #

Attribute model #

Element-specific attributes #

size = integer.positive
The number of options to show to the user.
multiple = "multiple" | ""
If present, indicates that its select element represents a control for selecting zero or more options from a list of options.
If not present, indicates that its select element represents a control for selecting a single option from a list of options.

Assertions #

Tag omission #

A select element must have both a start tag and an end tag.

Permitted contexts #