Web Compendium Sitemap

Select

Some browsers support <hr> separators as child elements within <select> [adrianroselli.com, webkit.org, webkit.org, chrome-dev].

Single Select

Customizable Select

Around 2025, more capabilities started landing in browsers to customize and extend selects. It is still based on the plain old <select> element, but there is an opt-in to the extended customization.

Multiselect

The select element has on optional multiple attribute to allow multiple options to be selected [MDN].

The aria-multiselectable attribute indicates that multiple items may be selected from the current selectable [MDN].

Combobox

A combobox is a combination of an input field and a select box. A user can either select a predefined option or type a custom value.

A simple combobox can be achieved using a text input with a list attribute [MDN] combined with the datalist element [MDN].