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

Re: w3 have a bug

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Fri, 08 Jul 2005 19:21:32 +1000
Message-ID: <42CE459C.4030505@lachy.id.au>
To: "Sorocaba On-Line S/C Ltda." <sorocaba@hotmail.com>
CC: www-validator@w3.org

Sorocaba On-Line S/C Ltda. wrote:
> look this code
> the w3.org write, but this tag is open YESSSSSSS.. YES.

No it's not.  The validator does not have a bug, you mis understand the 

> ---
> Line 29, column 171: end tag for element "A" which is not open
> ....Hit Counter & Website Statistics'></a>");
> ---
> ...
> document.write("<a href='http://www.tdstats.com/c/?cid=377'><img 
> src='http://www.tdstats.com/in/"+args+"' border=0 alt='TDStats.com - Hit 
> Counter & Website Statistics'></a>");
> ...

This is a very common validation problem.

Although, I think you also need to learn a lot more about scripting. 
There is really no point in trying to use the language attribute in 
order to determine which version is supported and you should really try 
to avoid using document.write().  You should use standard ECMAScript 
(aka JavaScript) and the standard Document Object Model (DOM) to work 
with your document.

Lachlan Hunt
Received on Friday, 8 July 2005 09:21:45 UTC

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