...

/

<datalist>

<datalist>

Learn how datalist tag works in HTML.

The datalist tag is used to provide an auto-complete option for users through a dropdown menu. It is used together with the input tag in forms.

The datalist tag has a single attribute: an id.

The id attribute of datalist must match the list attribute of the input tag. This ...