Tutorial 25: The Care and Feeding of Hyperlinks, Part I - HTML with Style | 5
Remember the TITLE attribute for links. Although it's not necessary to use it all the time, TITLE assists in giving the user information about the resource being linked to. Following a link takes time, and users need to know ahead of time if they really want to follow it or not.
A good rule of thumb when deciding whether or not to use the TITLE attribute on a link is to avoid using it when the information you would give via TITLE is already available to the user. For example, I've linked to Tutorial 2 several times in this article. Sometimes, I link to it like this:
In this case, the reader already knows that what is being linked to is Tutorial 2. However, if I'm linking to a passage in tutorial 2 without naming it, a TITLE attribute lets the user know what the link points to.
... which is a topic I have <A HREF="/html/tutorial2/5.html" TITLE="Tutorial 2 - Understanding Hyperlinks: Heads or Tails?" >covered previously</A> on HTML with Style ...
An obvious corollary of the above rule of thumb is that you should always use the TITLE attribute on LINK and AREA elements. These elements have no text related to them and offer no contextual clues as to what the link points to. In the case of graphics, the use of the ALT attribute is also compulsory, whether on the image itself if it is a single link, and on the AREA elements if it uses a client-side image map.
Produced by Stephanos Piperoglou
Created: September 27, 2000
Revised: October 4, 2000