W3C home > Mailing lists > Public > www-validator@w3.org > February 2005

Re: noscript validation issue

From: Olivier Thereaux <ot@w3.org>
Date: Fri, 4 Feb 2005 17:17:39 +0900
To: paul@webotech.co.uk
Cc: www-validator@w3.org
Message-ID: <20050204081739.GB4389@w3.mag.keio.ac.jp>

On Thu, Feb 03, 2005, paul@webotech.co.uk wrote:
> As far as I am aware I am allowed to embed <noscript> tags within <p> tags, 
> in which case there may be a bug in the validator. If I am wrong can 
> somebody show me the relevent W3C documentation. 

[[ The P element represents a paragraph. It cannot contain block-level
elements (including P itself).]]

I think 
defines noscript as a block element.

I may be wrong, I misinterpret DTDs sometimes, but it seems the above
means you can embed <p>s in <noscript>, but not <noscript> in <p>.

Hope this helps.
Received on Friday, 4 February 2005 08:17:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:44 UTC