Html5 forms part2 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Html5 forms part2

<form> <input type="text" name="color" id=""/> <option value ="Red"> <option value="Blue"> <option value="Green"> </___> </form> all my three attempts to answer this has been futile any help would be amazing

7th Apr 2017, 9:34 PM
Dioka Ejionueme
Dioka Ejionueme - avatar
3 Answers
+ 1
the closing tag just before form closing tag is a datalist closing tag.
7th Apr 2017, 9:38 PM
Nicolas Bonnet
Nicolas Bonnet - avatar
+ 1
could be you missing <datalist>....</datalist> around the options?
7th Apr 2017, 9:38 PM
Burey
Burey - avatar
+ 1
Yes there's a datalist element surrounding the option elements.
7th Apr 2017, 9:42 PM
Nicolas Bonnet
Nicolas Bonnet - avatar