RE: Problems in validating '<noscript>'

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 UTC