[html5] Validator not accepting datalist

Inayaili de Leon inayaili at gmail.com
Thu Nov 19 17:13:33 PST 2009


Hi,

I was trying to validate a form that's using the datalist element, but the
validator http://html5.validator.nu/ doesn't accept it.

I also tried with the example on the HTML5 specs and I get the same error:

<label>Homepage: <input name=hp type=url list=hpurls></label>
<datalist id=hpurls>
 <option value="http://www.google.com/" label="Google">
 <option value="http://www.reddit.com/" label="Reddit">
</datalist>

What could be wrong?

Thanks,
Inayaili.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20091120/de0b5e8e/attachment-0001.htm>


More information about the Help mailing list