<input list="items" type="text" /> <datalist id="items"> <option value="1">item 1</option> <option value="2">item 2</option> </datalist>