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

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 UTC