Key Ideas
1The <select> Element. A <select> renders a dropdown menu. It contains <option> children — each with a value (what gets submitted) and display text (what the user sees).
2Multi-Select & Size. Add multiple to let users select more than one option (hold Ctrl/Cmd to select multiple). Add size to show N options visible at once without a dropdown.
3The <textarea> Element. Unlike <input>, <textarea> is a two-tag element that accepts multi-line text. Its initial content goes between the tags (not in a value attribute). Control...
4datalist — Autocomplete Suggestions. <datalist> provides a list of suggestions for a text input without restricting the user to those values. Connect a datalist to an input via matching id and list ...