Skip to main content

Datalist HTML5 Autocomplete Drop down

The datalist element is new addition into HTML5 tag it written as <datalist>, This element can change a simple dropdown box to an HTML auto complete dropdown yes it means you don’t need to learn or add any jQuery/Javascript to let this auto complete dropdown work. This is the beauty of HTML5.

HTML5 Datalist element

The datalist element is introduce as HTML5 tag, It seems like a simple <select> element as its dose have <option> and its value as an attribute of it but still it works differently let me show the exact syntax of it.