Hello, i have a problem. I have a picture on my Website. If i move with the mouse over the image, a small desccription is shown due to the alt-tag.<alt="description"> This happens with the IE,
but if i use the Opera, the description is replaced by the url of the image.
And the question now; How can I change this?
THX for the answers, asterix76
3:54 pm on May 12, 2005 (gmt 0)
Try using the title attribute. IE's behavior is not what the W3C recommends for alt atributes, so you don't see it on other browsers.
5:26 pm on May 12, 2005 (gmt 0)
Welcome to WebmasterWorld, asterix76!
The compliant (cross browser) attribute that you need to use it title. This will give you the behaviour that you are looking for!
9:25 pm on May 12, 2005 (gmt 0)
The alternate text is meant to describe the image in cases where the image itself doesn't display. The title serves a slightly different purpose, sort of a caption to the image or providing supplementary information. I generally use both; the alt attribute for accessibility and the title attribute for the tooltips.