The Most Secure Cross Browser Testing Platform since 2012

Blog

Cross-Browser datalist Tag

shutterstock_234378844
BLOG / Web Development

Cross-Browser datalist Tag

Datalist tag is the method of setting a list of options for a user to select in a text field while leaving the ability to enter a custom value.

Browser Support

Sadly this feature is currently not supported by any browser.

Code Example

You can use the Datalist tag like this:

<input list="browsers">
 
<datalist id="browsers">
  <option value="Internet Explorer">
  <option value="Firefox">
  <option value="Chrome">
  <option value="Opera">
  <option value="Safari">
</datalist>

More Information

More information can be found here.