The title Attribute

Contact Us or call 1-877-932-8228
The title Attribute

The title Attribute

The title attribute can be used to provide a description about a link. The description is displayed by the browser as a tooltip, i.e., displayed as "post it" when the user mouses over the link. Screenreaders might read the description to a blind user.

Here's an example:

<a href="#winnie" title="A short story about Winnie the Pooh">Pooh Goes Visiting</a>

This is especially useful when an image is actually a link (we'll find out how to do this later). It might not be clear from the image itself where the link points. The title attribute can be used to make the link destination clear.

Next