Select dropdowns

When there are too many options for a radio set, a dropdown may be the best approach.

select elements are used to give the user a list of items to choose from. Before using a select, we should first explore if an input with type="radio" can't be used.

Keyboard operability for Windows
Keyboard operability for Mac

Select with default value

This is done with a ‘blank’ option that has:

Select with optgroups

Values within a dropdown can be grouped.

The datalist element can also be used to enhance a text field with a predefined list of values.