[html5] Validator not accepting datalist

Simon Pieters zcorpan at gmail.com
Fri Nov 20 00:45:50 PST 2009


On Fri, 20 Nov 2009 02:13:33 +0100, Inayaili de Leon <inayaili at gmail.com>  
wrote:

> 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?

It seems the validator has bugs.

http://krijnhoetmer.nl/irc-logs/whatwg/20091120#l-191

-- 
Simon Pieters



More information about the Help mailing list