W3C home > Mailing lists > Public > www-validator@w3.org > July 2002

Re: <script> and <noscript> in xhtml

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 30 Jul 2002 05:30:51 +0200
To: François Battail <francois.battail@wanadoo.fr>
Cc: www-validator@w3.org
Message-ID: <jv39ku01d26r1c77n58mhcifporqvicr23@4ax.com>

* François Battail wrote:
>> The validator does not complain about the noscript element, but you must
>> not use character data in noscript element, the validator wants you to
>> write something like
>>   <noscript><p>...</p><noscript>
>Yes it works with <p> but don't works with inline elements like <span> 

Yes, you can only use block level elements as child of noscript in HTML
4 Strict and derived document types. 

>which is little bit annoying in my case since if i cannot use javascript 
>to do some calculus i want to write that the information is not accurate 
>like this :
>if javascript is on :
>result: 150000000
>if javascript is off :
>result: 145000000 (as of july 28, 2002, 12am GMT)

You do not need to use noscript, just use the latter and replace it
using JavaScript.
Received on Monday, 29 July 2002 23:31:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:28 UTC