Combobox

A combobox is a combination of a drop-down list or list box and a single-line editable textbox, allowing the user to either type a value directly or select a value from the list.

code result
<label for="country">Input a country:</label><br>
<input list="country_list" id="country" 
name="country" />

<datalist id="country_list">
    <option value="USA">
    <option value="UK">
    <option value="Spain">
    <option value="China">
    <option value="India">
</datalist>