Click to See Complete Forum and Search --> : alt text in links


Koldewijn
02-05-2003, 07:02 AM
I have a small problem, maybe even trivial.

How can I use the ALT= option in a <A> tag, when I don't want to use an image?

So, how can I make something like the following to display the ALT text:

<A HREF="test.html" alt="display this please">Text only</A>

Stefan
02-05-2003, 09:32 AM
Originally posted by Koldewijn
How can I use the ALT= option in a <A> tag, when I don't want to use an image?


To elaborate on Daves answer ALT in fact is NEVER supposed to show a popup, even when you use it on an image.
The apropriate "popup" attribute is ALWAYS title, even for images.

ALT is only supposed to show INSTEAD of the image (eg if it's not loaded), not in conjunctiopn with the image.