How to Create a datalist with predefined color red? | SoloLearn: Learn to code for FREE!

+4

How to Create a datalist with predefined color red?

fill in the blanks <input type="text" list ="colors"/> <________ id="colors"> <option _______="red"> </_____>

2/7/2018 10:33:27 AM

Hemant Kumar

3 Answers

New Answer

+2

Check this out: https://www.w3schools.com/tags/tag_datalist.asp

+2

why we use there "value"?

0

Answers: datalist value datalist