html dropdown w3schools code example
Example 1: dropdown in html
<select>
<option value="actual value 1">Display Text 1</option>
<option value="actual value 2">Display Text 2</option>
<option value="actual value 3">Display Text 3</option>
</select>
Example 2: 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>