Tutorial

HTML5 Datalist Element

While this tutorial has content that we believe is of great benefit to our community, we have not yet tested or edited it to ensure you have an error-free learning experience. It's on our list, and we're working on it! You can help us out by using the "report an issue" button at the bottom of the tutorial.

Give your text inputs a boost with a <datalist>. A little bit like a blend of <input> and <select>:

<label>Your favorite band?
<input list="heavy-bands"
name="band-choice"></label>


Your favorite band?

Browser Support

Can I Use datalist? Data on support for the audio feature across the major browsers from caniuse.com.

0 Comments

Creative Commons License