The <datalist> tag is used to provide autocomplete feature in the HTML files. It can be used with input tag so that users can easily fill the data in the forms using select the data.
<datalist> ... </datalist>
Example 2: The <datalist> tag object can be easily accessed by input attribute type.
Supported Browsers: The browsers which support <datalist> tag are listed below:
- Google Chrome 20.0 and above
- Internet Explorer 10.0 and above
- Firefox 4.0 and above
- Opera 9.0 and above
- Safari 11.1
Note: Safari browser is not supported this tag.
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.