how do I view the contents of alt tags when rollover image
I would like to see the text contained in alt tags (if there is any) when I place the mouse pointer on an image.
I would like to see the text contained in alt tags (if there is any) when I place the mouse pointer on an image.
所有回复 (1)
The alt tag isn't meant for that tooltip.
The alt tag is meant to show if the image can't be displayed.
The title tag should be used to display the tooltip on hover.
- http://www.w3.org/TR/html401/struct/global.html#title
- http://www.w3.org/TR/html401/struct/objects.html#alternate-text
- Popup ALT Attribute: https://addons.mozilla.org/firefox/addon/popup-alt-attribute/