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

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 UTC