W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2008

[whatwg] input type="hidden" and validation

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 22 Oct 2008 16:04:12 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0810221558090.1041@hixie.dreamhostps.com>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:06 UTC