I was wondering what the differences are between Select-Option and Datalist-Option. Is there any situation in which it would be better to use one or the other? An example
There is another important difference between select
and datalist
.
Here comes the browser support factor.
select is widely supported by browsers compared to datalist. Please take a look at this page for complete browser support of datalist--
Datalist browser support
Where as select is supported in effectively all browsers (since IE6+, Firefox 2+, Chrome 1+ etc)