Black Lives Matter! ✊🏾

select

The select element represents a control for selecting amongst a set of options. 4.10.7. The select element

Links about select

  1. Standardizing <select> And Beyond: The Past, Present And Future Of Native HTML Form Controls — Smashing Magazine

    posted on

    In this article, Stephanie dives into the past by going back to the beginning of HTML and tracing the evolution of form controls through to the present and the current state of working with them.

  2. <select> your poison - 24 Accessibility

    posted on by Sarah Higley

    If the web accessibility community were to somehow collectively agree on a single rallying cry, it could easily be “use native, semantic HTML elements.” This, like most things in accessibility, is an oversimplification, but it is a helpful one. As 2019 draws to a close, many of the popular component…

  3. <select> your poison part 2: test all the things - 24 Accessibility

    posted on by Sarah Higley

    TL:DR; Jump straight to the recommendations In part 1 of this deep dive, we took a broad look at both how the native <select> element works across browsers and platforms, and the current state of accessible custom select component implementations. It’s necessary to look at how fragmented current sel…

  4. <select>

    posted on by MDN

    The HTML select element represents a control that provides a menu of options

Code sample

<label for="color">Select color:</label>
<select id="color">
<option value="red"> Red </option>
<option value="green"> Green </option>
<option value="blue"> Blue </option>
</select>