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

Hello,

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