W3C home > Mailing lists > Public > www-validator@w3.org > May 2003

Re: Validation error due to counters code

From: David Bryant <davidbryant@att.net>
Date: Mon, 12 May 2003 09:53:06 -0600
Message-ID: <3EBFC362.4090703@att.net>
To: "ecotronics.net0" <info@ecotronics.net>
CC: www-validator@w3.org

ecotronics.net0 wrote:

>dear people of W3C,
>the counter on my page ask the following code:
>
><img border="0" src="/cgi-bin/Count.cgi?df=www.ecotronics.net.dat&dd=A&ft=4&frgb=100;139;216&md=5&pad=T" 
>alt=""> </TD>
>
>But this gives a lot off error messages at the validation and i realy would like to get the validation banner at my site.
>
>I'm happy for each help, so with greetings
>
>A. Jost
>
The problem is with the ampersands (&s).

Replace each occurrence of '&' with '&amp;', like this ...

src="/cgi-bin/Count.cgi?df=www.ecotronics.net.dat&amp;dd=A&amp;ft=4&amp;frgb=100;139;216&amp;md=5&amp;pad=T"


This will still work for your counter, and it will validate OK.  dcb
Received on Monday, 12 May 2003 11:53:36 GMT

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