[whatwg] input type="hidden" and validation

On Wed, 22 Oct 2008, Old?ich Vete?n?k wrote:
> 
> Q: Is it possible that hidden inputs don't have to be in a semantic tag? 
> That is it passes the validation test without showing this error up: 
> line 20 column 32 - Error: document type does not allow element "input" 
> here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", 
> "pre", "address", "fieldset", "ins", "del" start-tag

I believe in HTML5 that we've allowed <input> in most places, which should 
satisfy your needs. Let us know if it does not. :-)

Cheers,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 22 October 2008 09:04:12 UTC