15519 shaares
By using <datalist>, you can define a list of suggestions you want the user to select from. Users can optionally select from your suggestions as well as typing it by themselves.
Options can be tagged with datalist and referenced from the input element using list attribute by its id. See examples below.