Re: Problem - INPUT Type Hidden

On Fri, Mar 04, 2005 at 12:19:27PM -0300, Eduardo Carvalho wrote:
>    This return one error message at element "INPUT":
>    "... document type does not allow element "INPUT" here; missing one of
>    "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS"
>    start-tag."
> 
>    But attributes "hidden" should be.

The HTML specification says otherwise.

As an aside - while it might be desirable to allow hidden inputs to
exist without being wrapped in a container that allows inline content,
there is no way in SGML to specify that a type of element may or may
not appear as a child of another depending on the value of one of its
attributes.

-- 
David Dorward                                      http://dorward.me.uk

Received on Friday, 4 March 2005 17:13:44 UTC