the alt attribute does not produce a text on the picture when I hove my mouse over the picture. Why is this?
When viewing a picture in a website online the text included in the "alt="something" attribute in the "img src" tag in the source test, does not appear when I hover my mouse over the picture. Why is this? Is there a setting that I need to alter? Nick Fixsen
تمام جوابات (2)
The alt attribute is only meant to display as a tooltip if the image is not available. For a tooltip to be displayed when the image is available you should use the title attribute.
If you want the alt attribute to always appear as a tooltip you can use the Popup ALT Attribute add-on.
The 'alt' attribute is never meant to be displayed as a tooltip. You can sometimes see it while an image is loading (if there are a lot of images or the server is slow).