HTML Datalist Tag

The HTML tag is is used to provide an auto complete feature on form element. It provides a list of predefined options to the users to select data.

The datalist tag is introduced in HTML5.

The tag should be used with an

The HTML datalist tag supports global and event attributes also.


HTML datalist tag example

Let's see the simple example of HTML5 datalist tag. If you press A, it will show a list of cricketers starting with A letter.

Test it Now

Output:


Supporting Browsers

Element chrome browser Chrome ie browser IE firefox browser Firefox opera browser Opera safari browser Safari
Yes Yes Yes Yes Yes




Hot Tutorials

Contact US

Email:jjw.quan@gmail.com

HTML datalist Tag
10/30