dropdown input type html code example
Example 1: number dropdown html
<select id="selectNumber">
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
</select>
Example 2: input with dropdown
<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>