Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

the alt attribute does not produce a text on the picture when I hove my mouse over the picture. Why is this?

  • 2 (ردّان اثنان)
  • 2 have this problem
  • 15 views
  • آخر ردّ كتبه cor-el

more options

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

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

All Replies (2)

more options

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.

more options

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).