3
There’s a way to hide the tooltip created by Title
while holding the mouse over the IMG
, through CSS or Javascript?
3
There’s a way to hide the tooltip created by Title
while holding the mouse over the IMG
, through CSS or Javascript?
2
Editing: the original question was about the attribute alt
. About the attribute title
, the W3C has the following considerations:
Think carefully before using. Stay now with the original answer.
In general it is not possible, as this is a specific behavior of the browser. Unless you want to make a Fork in the source code of your favorite browser. But please don’t do that. There’s a reason for alt
behave in that way.
Something to remember when using the attribute alt
is that it serves as alternative an image. Although many websites use it as complement for visual information, his real purpose is:
The information above was stolen and hacked by moi of W3C website, who is the one who maintains these standards.
2
Just don’t use the attribute title that exists in the tag img
example:
0
Simple and easy:
$('img').attr('title','');
Browser other questions tagged javascript html css
You are not signed in. Login or sign up in order to post.
The alt attribute does not create information balloon, but the Title tag.
– KhaosDoctor
Java or Javascript?
– Maniero
Khaos is right that Tittle creates the balloon ! Javascript, Jquery or CSS if possible @bigown
– Gladson Gilberto Marinho Gonal
OK Khaosdoctor said that the attribute that create the balloon, is Tittle, and he’s right, I tested here and solved, but since I asked the question, I think it’s best to change the ALT by Tittle, so that the question can be solved @bigown
– Gladson Gilberto Marinho Gonal
Okay, you can [Dit] her then.
– Maniero