What is the datalist tag in HTML ?
- In HTML
- Users can easily fill the data in the forms using select the data because it is used by an input tag.
- It provides a list of predefined options for the users to select data.
Sample Code
Output

The datalist element
Note: The datalist tag is not supported in Safari 12.0 (or earlier).

Our site uses cookies. By using this site, you agree to the Privacy Policy and Terms of Use.