Alt tag dows not show in Firefox or Chrome
Can anybody tell me why my alt=" " tag does not show in Firefox or chrome.
It shows OK in IE. I am using Firefox and / or Chrome, but also testing in IE9
An example is:
First of all alt is an attribute, not called as a tag.
It's used to show alternate text in place of an image displayed through <img> tag, when the browser is set not to display images.
If you are trying to display a tootip, you need to use the title attribute. (IE erroneously show a tooltip, for an alt attribute)
You need to turn off images if you want the alt text to show.
If you want IE to work the same as other browsers then either add title="" to all your images to get IE to apply the standard or duplicate the alt text in the title so that all the browsers that follow the standard will display it.
Of course the text to display to those who don't see the image is probably not appropriate to display to those who can in which case your title text ought to be different from your alt text.
Many thanks for your help.
I am now using 'title=' and 'alt=' attributes and all works fine.
|All times are GMT +1. The time now is 06:26 PM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.