ALT Text

Permalink 1 user found helpful
I have been advised to include ALT TEXT to my images, to improve my website's ranking. But when I edit my current images and add text to the alt text/caption box, it still doesn't show when I hover over the image? Am I doing this wrong?

 
wagdi replied on at Permalink Reply
wagdi
You're not doing anything wrong.

Th alternative text is literally just that. An alternative to display to the viewer if they cant see the image.

So for whatever reason the image doesn't display, the Alt text will.
Shutters replied on at Permalink Reply
Ok thank you. I had thought that it would be viewed when you hover over the image. Is this something else? Do you know if I am able to do this? Thanks
VidalThemes replied on at Permalink Best Answer Reply
VidalThemes
Hi Shutters, its more of a browser thing, some display the ALT tag on hover and some dont, if you want a caption on hover on your images in all browsers, you need to look into tooltips, there are plenty of them about, some work from just plain CSS and some leverage Javascript/Jquery.
TMDesigns replied on at Permalink Reply
TMDesigns
This is is partially true.

The alt attribute is the HTML attribute to specify alternative text (alt text) that is to be rendered when the element to which it is applied cannot be rendered.

You can add a "title" attribute to the image.

The title attribute specifies extra information about an element. The information is most often shown as a tooltip text when the mouse moves over the element.