Black Lives Matter! ✊🏾


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

Links about select

  1. <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…

  2. <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…

  3. <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>