Menu Samaritan's Purse

SELECT

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

SYNTAX

HTML

<select attribute-name="attribute-value"></select>

ATTRIBUTES

Global

NAME VALUE DESCRIPTION
disabled disabled | empty Specifies that the element represents a disabled control
form IDREF Identifies a form with which to associate the element
multiple multiple | empty Specifies that the element allows multiple values
name string Name part of the name/value pair associated with this element for the purposes of form submission
size positive integer Number of options meant to be shown by the control represented by its element

EXAMPLES

DISABLED

FORM

MULTIPLE

NAME

SIZE

Web Hypertext Application Technology Working Group (WHATWG)