Choose one from the list

select

The select field is used to provide the user with a fixed set of allowable options.

The possible values are specified with a set of option elements.

Unlike the datalist field, the select field does not provide a way for the user to choose anything except one of the options.

Properties

name
The name attribute is used as the key name in the key/value pairs submitted to the server.
multiple
When present, the user can choose more than one option.
size
When present, this specified the number of options to display in the listbox.
When omitted, the options are displayed in a collapsable droplist.
form
This attribute may be used to declare the input to be part of a form even when it is not directly subordinate to it. Provide the ID of the form.
disabled
The input should be visible, but unchangable. Its value will not be included in the submission.
required
When present, this field must not be left blank.
autofocus
Identifies this input element as the one that should receive keyboard focus when the page is loaded.
autocomplete
on The browser can assist the user by automatically providing values that were previously used on similar forms.
off The browser should not provide any automatic assistance.
See the MDN documentation for more possibilities.

Example

form {
select *name=shirt-size {
option *value='S' Small
option *value='M' Medium
option *value='L' Large
option *value='XL' Extra Large
}
}
The select element

Subordinates

select
The select field is used to provide the user with a fixed set of allowable options.
select
The select field is used to provide the user with a fixed set of allowable options.

semantax > input-output > selectChoose one from the list

Q