Forms

<option>

An item contained in a select, optgroup, or datalist element.

<option>

An item contained in a select, optgroup, or datalist element.

Syntax

<option></option>

Example

<option class="example">Content here</option>

Notes

Semantic HTML helps screen readers and search engines understand your content.

Try It Yourself

Experiment with this element in the BrowserCode Playground.