<select>
noun
say it: “suh-LEKT” /səˈlɛkt/
The HTML element that makes a dropdown list, where a visitor picks from choices that stay hidden until it is opened.
What is <select>?
<select> — The element that lets a user choose from a list of options.
<label for="city">City</label>
<select id="city" name="city">
<option>Denver</option>
<option>Boulder</option>
</select>
In a sentence
- “The state field is a select, because fifty choices on the screen at once would be too many.”
- “My select sent its value only after I gave it a name.”
Level: Apprentice · More HTML terms at this level
Updated