Forms
The <select> element creates a user-interactive control for web-based forms. Form controls can accept data from the user, which can then be submitted to a web server.
Attributes for <select>
Type | Attribute List |
'Standard' Attributes | "disabled", "multiple", "name", and "size" |
New HTML5 Attributes | "autocomplete", "form", "required", and "writingsuggestions" |
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)