The option element for HTML represents an option in a select element or as part of a list of suggestions in a datalist element.
<option attribute-name="attribute-value"></option>
Name | Value | Description |
---|
disabled | disabled | empty | Specifies that the element represents a disabled control |
label | string | Specifies the label of the element |
selected | selected | empty | Specifies that this option is pre-selected |
value | string | Specifies a value |