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

Re: Error Message Feedback - html validator will not validate if images are displayed as asp!!!

From: Frank Ellermann <nobody@xyzzy.claranet.de>
Date: Sat, 05 Nov 2005 08:38:29 +0100
To: www-validator@w3.org
Message-ID: <436C6175.3771@xyzzy.claranet.de>

Nicky wrote:

> <img src=<%response.write"images/topBanner1left.gif"%>
> alt="Top banner!" />

The <%...%> confuses the validator.  It's unrelated to
your problem, but the error would be different if you
put the alt= before the src= as in

<img alt="Top bannner"
 src=<%response.write"images/topBanner1left.gif"%> />

To fix it get rid of the <%...%> - you can only validate
the output after this <%...%> was replaced, e.g.

<img alt="Top bannner" src="images/topBanner1left.gif" />

> Is this correct or is it a bug?

Your "raw" page with <%...%> is no valid XHTML.  Bye
Received on Saturday, 5 November 2005 07:42:18 GMT

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