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

RE: Problems in validating '<noscript>'

From: Tatham Oddie <tatham@oddie.com.au>
Date: Sat, 18 Jul 2009 08:46:38 +0930
To: "'John Fairweather'" <johnfairweather@ntlworld.com>, <www-validator@w3.org>
Message-ID: <018401ca0734$a6269280$f273b780$@com.au>
Hi John,

 

I had to remove your comment and add a head tag, but then it validated fine for me.

 

This is the code I used to test:

 

 

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

  <head>

    <title>test</title>

  </head>

  <body>

    <noscript>

      <div class="statcounter">

        <a title="web counter" href="http://www.statcounter.com/" target="_blank">

          <img class="statcounter" src="http://c.statcounter.com/4069811/0/d06944bc/0/" alt="web counter">

        </a>

      </div>

    </noscript>

  </body>

</html>

 

 

Thanks,

 

Tatham Oddie

au mob: +61 414 275 989, us cell: +1 213 422 7068, skype: tathamoddie, landline: +61 2 8011 3982, fax: +61 2 9475 5172

my business:  <http://tixi.com.au/> tixi.com.au – Ticketing without the dramas

 

From: www-validator-request@w3.org [mailto:www-validator-request@w3.org] On Behalf Of John Fairweather
Sent: Saturday, 18 July 2009 8:25 AM
To: www-validator@w3.org
Subject: Problems in validating '<noscript>'

 

I'm trying to W3C validate the following code segment, but the validation says that '<noscript>' is an error - have you any idea why this occurs and is there a solution?

 

===================================================

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

   "http://www.w3.org/TR/html4/loose.dtd">

<!-- Above validates the following for HTML 4.01 -->

<html>

<body>

.

.

<noscript>

<div class="statcounter">

<a title="web counter" href="http://www.statcounter.com/" target="_blank">

<img class="statcounter" src="http://c.statcounter.com/4069811/0/d06944bc/0/" alt="web counter">

</a>

</div>

</noscript>

 

</body>

</html>

====================================================

 

Regards,

 

John Fairweather

 

 
Received on Friday, 17 July 2009 23:17:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:36 GMT