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

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

From: Nicky <nicky.t@telia.com>
Date: Fri, 4 Nov 2005 18:07:52 +0100
Message-ID: <4365DD8D00166346@pne-smtpout2-sn2.hy.skanova.net> (added by postmaster@pne.skanova.net)
To: <www-validator@w3.org>

I do not understand why the html-validator will not accept my alt= for my top banners. If I remove the asp code the code is validated…  

1.	Error Line 28 column 42: required attribute "ALT" not specified.

My code:


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


<div class="topBannerright"><img src=<%response.write"images/menu1.gif"%> alt="Top banner menu!" /></div>


It seems that this code will not validate if I write the images with asp! Is this correct or is it a bug?

/Nicky Trulsson, Halmstad Sweden
Received on Saturday, 5 November 2005 04:40:20 UTC

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