![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
how do I display tool tips or alt text
Tool tips/ ALT text does not display when moving cursor over an image
Tool tips/ ALT text does not display when moving cursor over an image
所有回复 (1)
See:
- http://kb.mozillazine.org/Image_tooltips_do_not_work
- Why doesn’t Mozilla display my alt tooltips? (MDC)
The title attribute is meant to show as a tooltip if you hover an image or link and the alt attribute is meant to be displayed if the image is not available. If there is no title attribute, but there is an alt attribute then IE will show the alt attribute as a tooltip. Firefox doesn't do that, so if the title attribute is missing then you do not see a tooltip if you hover an image or link.