Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

<alt> tag

Posted on 2000-04-26
5
Medium Priority
?
325 Views
Last Modified: 2013-11-19
Is it possible to use <alt> tag with ordenary text links. I only get it right with images.
0
Comment
Question by:Eia
5 Comments
 
LVL 33

Expert Comment

by:knightEknight
ID: 2753051
This will work in IE:

<A href='someurl.htm'  TITLE="Your ALT text goes here">Click Me</a>
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 2753059
TITLE can also be used in things like buttons, textboxes, and various other HTML and FORM elements.
0
 
LVL 1

Expert Comment

by:makisupa
ID: 2753429
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
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 2754264
Knight is right....Title can be used for this purpose...

Max Davidse
0
 
LVL 2

Accepted Solution

by:
netbug earned 40 total points
ID: 2761582
ya ! surely you can use alt tags in text.
but only on anchors.
like
<a href="home.html" alt="go to home">
</a>
bye!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question