W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2001

Re: Tidy's handling of <noscript>

From: Dave Raggett <dsr@w3.org>
Date: Mon, 20 Aug 2001 10:23:54 +0100 (GMT Daylight Time)
To: Paul <valen@nic.com>
cc: html-tidy@w3.org
Message-ID: <Pine.WNT.4.10.10108201022360.-959541@hazel>
On Sat, 18 Aug 2001, Paul wrote:

> Hi All,
> 
> I cannot tell if it is me or tidy who is doing the wrong thing.
> 
> My HTML contains a sequence like this:
> 
> <html>
> <head>
> 
> <script>
> <!--
>   some script statements here
> // stop hiding -->
> </script>
> 
> <noscript>
> show this stuff when scripting not enabled
> </noscript>
> 
> </head>
> 
> <body> ....
> 
> Tidy's output moves the <noscript> block to within <body>;
> specifically as the very first thing after <body>.


The W3C HTML specs don't permit noscript in the HEAD, so Tidy
moves it to the BODY.

Regards,

-- Dave Raggett <dsr@w3.org> or <dave.raggett@openwave.com>
W3C Visiting Fellow, see http://www.w3.org/People/Raggett 
tel/fax: +44 122 578 3011 (or 2521) +44 771 213 7629 (mobile)
Received on Monday, 20 August 2001 05:26:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:46 GMT