HTML datalist Tag
The
<datalist>
tag specifies a list of pre-defined options for an<input>
element.The
<datalist>
tag is used to provide an “autocomplete” feature on<input>
elements. Users will see a drop-down list of pre-defined options as they input data.Use the
<input>
element’s list attribute to bind it together with a<datalist>
element.