Link to home
Start Free TrialLog in
Avatar of Eia
Eia

asked on

<alt> tag

Is it possible to use <alt> tag with ordenary text links. I only get it right with images.
Avatar of knightEknight
knightEknight
Flag of United States of America image

This will work in IE:

<A href='someurl.htm'  TITLE="Your ALT text goes here">Click Me</a>
TITLE can also be used in things like buttons, textboxes, and various other HTML and FORM elements.
Avatar of makisupa
makisupa

I don't believe there is anyway to use the <ALT="alt text"> tag with text links. Text links show up weather or not you have graphics enebled in a browser such as Netscape or IE. The  <Alt="">  tag is for images only.
and the following  <A href='someurl.htm'  TITLE="Your ALT text goes here">Click Me</a>  does not work in Netscape or Eudora

Remember that search engine spiders don't 'see' images - all they can do is read the <IMAGE ALT> tag; it also gives  surfers something to look at while your site is downloading, especially a slow download.

The ALT attribute of the IMG is intended to be used as alternative text for situations where the IMG is not being displayed. The idea is expressed well in the HTML4.0 recommendation.

check out the following link it explains it a whole lot better
http://ppewww.ph.gla.ac.uk/~flavell/alt/alt-text.html
Knight is right....Title can be used for this purpose...

Max Davidse
ASKER CERTIFIED SOLUTION
Avatar of netbug
netbug

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial