Re: w3 have a bug

Sorocaba On-Line S/C Ltda. wrote:
> look this code
> the 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=''><img 
> src='"+args+"' border=0 alt=' - 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