What is DataList in HTML5?

Datalist element in HTML5 helps to provide autocomplete feature in a textbox as shown below.

Below is the HTML code for DataList:

<input list="Country">
<datalist id="Country">
 <option value="India">
 <option value="Italy">
 <option value="Iran">
 <option value="Israel">
 <option value="Indonesia"> 
</datalist> 
author

Raka Rocks

Hi, My self Raka Rocks. I am web designer and Front End Developer total 8 year exp. in this fields. I am a continuous blogger and has blogged on different topics. He loves to surf the Internet and always tries to get new ideas about new technologies and innovations and share this excellent information with all technology lovers.

Related Topics

%d bloggers like this: