Answers for "how to use option in html"

4

html option

<label for="cars">Choose a car:</label>

<select id="cars">
  <option value="volvo">Volvo</option>
  <option value="saab">Saab</option>
  <option value="opel">Opel</option>
  <option value="audi">Audi</option>
</select>
Posted by: Guest on March-14-2021
1

select option html

<label for="gender"> Select you gender</label>
<select name="gender">
	<option value="none" selected>Gender</option>
	<option value="male">Male</option>
	<option value="female">Female</option>
	<option value="other">other</option>
</select>
Posted by: Guest on June-01-2021

Code answers related to "how to use option in html"

Browse Popular Code Answers by Language