Answers for "dropdown list choice html"

21

html select list

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

<select id="cars">
  <option value="volvo">Volvo</option>
  <option value="saab">Saab</option>
  <option value="mercedes">Mercedes</option>
  <option value="audi">Audi</option>
</select>
Posted by: Guest on April-13-2020
1

input field with dropdown selection

<label>Choose a browser from this list:
<input list="browsers" name="myBrowser" /></label>
<datalist id="browsers">
  <option value="Chrome">
  <option value="Firefox">
  <option value="Internet Explorer">
  <option value="Opera">
  <option value="Safari">
  <option value="Microsoft Edge">
</datalist>
Posted by: Guest on May-08-2020
0

html dropdown list

<label for="dog-names">Choose a dog name:</label>
Posted by: Guest on September-12-2021

Browse Popular Code Answers by Language