homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Adding alt text to affiliate link
alt text

 9:32 am on Sep 21, 2010 (gmt 0)

Hi there,

Could someone please tell me what I have doen wrong here? I am trying to add alt text to an affiliate link image..

Here is the code I have used but it does not work?

<a href="http://www.awin1.com/pclick.php?p=00000000&a=000000&m=0000" target="_blank"> <img src="http://images.productserve.com/preview/0000/00000000.jpg" alt="This is a text that goes with the image" align="left" border="0"> </a>

This is driving me crezy lol..

Many thanks..



 10:11 am on Sep 21, 2010 (gmt 0)

Please explain what you mean by "does not work". Do you mean the text doesn't display if yuou turn off images? That's wjat is supposed to happen.


 11:15 am on Sep 21, 2010 (gmt 0)

Hi Tedster

When I run my mouse curser over the image the alt text does not appear on my screen..

Regards David..


 11:52 am on Sep 21, 2010 (gmt 0)

It's not supposed to - that's the function of a title attribute. Things got confused for a while because older versions of Internet Explorer incorrectly showed the alt attribute in a tooltip on mouseover - but that was always non-standard behavior.

So if you want tooltip to display, add a title attribute.


 2:43 pm on Sep 21, 2010 (gmt 0)

Thank's Tedster, that has cleared up the confusion for me..

Kindest regards.. David

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved