W3C home > Mailing lists > Public > public-html@w3.org > October 2007

<noscript> inside <p> elements

From: Julian Guy <contact@julianguy.co.uk>
Date: Tue, 30 Oct 2007 10:21:29 +0000
Message-ID: <395dbd670710300321m1966db7atc47a3023083c4034@mail.gmail.com>
To: "public-html@w3.org" <public-html@w3.org>
Hello all,

I apologise if this has been mentioned before.

I think <noscript> blocks should be allowed inside all elements within the
page.

For instance, javascript <script> blocks can be placed inside a <p> like so:

<p><script type="text/javascript">
   //<![CDATA[
   document.write('foo');
   //]]>
  </script></p>

but this is invalid:

<p><script type="text/javascript">
   //<![CDATA[
   document.write('foo');
   //]]>
  </script><noscript>foo</noscript></p>

*Julian Guy Web Development*
13 Montgomery Street
Victoria Park
Bristol
BS3 4SE

+44 (0) 7929 957271
contact@julianguy.co.uk
Received on Tuesday, 30 October 2007 10:21:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:32:19 GMT