W3C home > Mailing lists > Public > www-validator@w3.org > March 2006

Re: Forcing validation when headings/paragraphs are nested inside an anchor

From: David Dorward <david@dorward.me.uk>
Date: Wed, 29 Mar 2006 15:52:03 +0100
To: alan stonebridge <alan_stonebridge@dennis.co.uk>
Cc: www-validator@w3.org
Message-ID: <20060329145203.GB16165@us-lot.org>

On Tue, Mar 28, 2006 at 04:33:49PM +0100, alan stonebridge wrote:
> Does the validator just ignore HTML that is nested in an object tag, or is
> this expected?

<object> elements can be inline or block depending on the context and
so are allowed to contain headings - but only if they are in block
context.

DTDs can't express this limitation though. So it is valid but wrong
(since validation can only test for a subset of the requirements of
the (X)HTML specifications.

-- 
David Dorward                                      http://dorward.me.uk
Received on Wednesday, 29 March 2006 14:52:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:21 GMT