A select element presents several choices in a compact field. Activating it reveals the available options, making it useful when radio buttons would take too much space. section 8.3.7
Configure a selection list by specifying:
- The options displayed to the user. section 8.3.7
- Which option appears initially selected. section 8.3.7
- Whether users can select multiple options. section 8.3.7
- How many rows appear before the control becomes a scrollable list box. section 8.3.7
Filtering a course catalog
Use Department and Instructor selection lists populated with unique field values. Selecting a department replaces the displayed records with matching courses; selecting the initial “All” option restores every record. section 13.4.2
Sorting displayed records
A Sort list can offer “Sort by Department” and “Sort by Title.” JavaScript sorts the records by the selected field and redisplays them. section 13.4.3
A selection list with the label "Philosophers You've Read" and the following options: "Plato", "Aristotle", "Blaise Pascal", "Friedrich Nietzsche", and "Jean-Paul Sartre." Allow the user to make multiple selections.
This concrete prompt demonstrates a labeled selection list that permits multiple choices. section 8.3.7









