Last updated: 2026-09-12
<option>The OPTION Element
A single selectable item inside select, datalist or optgroup.
| Category | Forms |
|---|---|
| Content Model | Flow content |
| Allowed Parents | Any element that accepts flow content |
| Content Tag | Yes — requires closing </option> tag |
| Status | Standard |
📝 Syntax
<option value="apple">Apple</option>
⚙️ Attributes
This element supports the global attributes plus the following:
| Attribute | Value | Description |
|---|---|---|
value | Value sent to the server (falls back to text if omitted). | |
selected | Pre-select this option. | |
disabled | Disables this option. | |
label | Alternative display text. |
▶ Example
Edit the code below and see the live result in the playground:
🌐 Browser Support
| Browser | |||||
|---|---|---|---|---|---|
| <option> | ✓ v1 | ✓ v12 | ✓ v1 | ✓ v1 | ✓ v1 |
| Supported in all major browsers | |||||
Tip: Without value, the text content between the tags is submitted.
🏷️ Related Tags
💡 Related Cases
More case studies coming soon — check back later.