CSS HTML Validator - The All-In-One HTML, XHTML, CSS, Link, SEO, and Accessibility Checker
Home Help: "option" element

The "option" Element


Additional links:


Attributes for "option"
TypeAttribute List
'Standard' Attributes"disabled", "label", "selected", and "value"
Obsolete Attributes"name"

Recommended Links

Accessibility Information & Tips

  • In "select" elements, use "optgroup" to group related "option" elements. Label the option groups with the "label" attribute. Avoid using dummy list entries to delimit groups. Visit https://www.w3.org/TR/WCAG20-TECHS/H85 for more information.

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem