Quote:
|
Originally Posted by Ciberblade TechGuy ~ I was looking at the linking page and the code:
For your edification (in case you don't already know) the Firefox browser does not display the 'ALT' tag the same way IE does -- in order for the display to be the same, you must add a 'TITLE' tag, like so:
Just a though....I wonder what would happen if the 'alt' and 'title' tags had different values? I will post back with the answer in a moment. |
Quote:
|
Originally Posted by TechGuy Looks great, guys! Good information re Title. I believe it's still part of the HTML standard to use ALT tags for those with screen-readers, etc... but it's nice to know that you can use TITLE if you want the hover to work. |
Alt is required in <img> tags as a "fallback" when the image fails to load, the alt text will be used instead.
Alt attribute was never meant to be used as a "tooltip", that is a Internet Explorer bug.
Title is meant for tooltip and, unlike Alt, it is optional. You don't need Title but you do need Alt for it to validate.
Hope that explains

* Internet Explorer has a bug that displays Alt text as a tooltip.
* Alt was never meant to be used that way.
The reason Firefox doesn't display Alt as a "tooltip" is because it is
following the rules set by the W3C
There is an extension for Firefox to display Alt as a tooltip, but it's a stupid extension as it makes Alt display like it does in IE.
Any browser that follows the rules will NOT display Alt as a tooltip.