Forms and Tables
Select Options
One Value from a List
A compact form control starts as a select, gains options, and then exposes the selected option as its value.
Program
Select controls keep multiple choices in the document while the browser exposes one current value to the form.
select_options.html
<label for="plan">Plan</label>
<select id="plan" name="plan">
<option value="basic">Basic</option>
<option value="team" selected>Team</option>
</select>
option
An option is one selectable value inside a select control.
selected
The selected attribute marks the initial value before user interaction.