Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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

  • 2 件の返信
  • 2 人がこの問題に困っています
  • 15 回表示
  • 最後の返信者: 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

すべての返信 (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).