Is there a way to hide the tooltip created by Title
by holding the mouse over IMG
through CSS or JavaScript?
Is there a way to hide the tooltip created by Title
by holding the mouse over IMG
through CSS or JavaScript?
Editing: The original question was about the alt
attribute. About the title
attribute, W3C has the following considerations :
Think well before using. Stay with the original response now.
In general this is not possible as this is browser-specific behavior. Unless you want to make a fork in the source code of your favorite browser. But please, do not do this. There is a reason why alt
behaves this way.
One thing we should remember when we use the alt
attribute is that it serves as an alternative to an image. Although many sites use it as a addon for visual information, the real purpose of it is:
The information above was typed and adapted by moi from the W3C website , who maintains these standards.
Simple and easy:
$('img').attr('title','');