View Full Version : How to hide text for alt tag?
kippie
06-23-2003, 10:45 AM
I want to add alt tags to the images of my website so that search engines can index the words used. But I would prefer that a user does not see the text onMouseOver of that image. I heard there is a way to avoid that those text windows appear onmouseOver of the images without hampering the search engines. Can some help?
Kippie
ACJavascript
06-23-2003, 04:53 PM
Mabye this might do the trick
<img src="image.gif" alt="The Image" title="">
kippie
06-23-2003, 08:48 PM
Thanks that works
Kippie
If a browser pops up some text for the alt attribute of an image then that is a bug in the browser.
Only the title attribute is meant to be used for the popup text; and this is what modern browsers such as Mozilla do follow correctly.
The alt attribute is purely to be shown in place of the image if it fails to load or if image loading is turned off. It should not popup, although some older browsers like Netscape 4, and some versions of IE did do this. They should not.
kippie
06-24-2003, 10:47 AM
Thanks
Kippie
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.