<input list="browsers">
<datalist id="browsers">
<option value="Internet Explorer">
<option value="Firefox">
<option value="Chrome">
<option value="Opera">
<option value="Safari">
</datalist>
i have used datalist tag but problem is users are allowed to enter values other than option so how to restrict users to enter data other than options or should i use other than datalist