HTML Datalist Tag | HTML <datalist> Tag | HTML5 Datalist Tag

HTML Datalist Tag

Define :
This tag specifies a list of pre-defined options for an <input> element.
It is used to provide an "autocomplete" feature for <input> elements.
For example :

Output :
Browser Support
Element chrome opera firefox Microsoft edge
<data> 62.0 49.0 22.0 13.0

Global and Event Attributes
This tag also supports the Global and Event Attributes in HTML.

Default CSS Settings
Most browsers will display the <datalist> element in css

datalist {
  display: none;