Mouse Hover on a text value and display the same text on the hover | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Mouse Hover on a text value and display the same text on the hover

Mouse Hover on a text value and display the same text on the hover

20th May 2020, 8:42 AM
Rajesh Yandrathi
Rajesh Yandrathi - avatar
3 Answers
+ 1
Do nothing, you would get the same text on hover.
20th May 2020, 12:41 PM
Calviղ
Calviղ - avatar
0
Hi what is your question?
20th May 2020, 10:35 AM
Abhay
Abhay - avatar
0
I think you are asking for how to add tooltip text for an element. You can do that by giving the element a title attribute. Like this <button title="Tool tip">Hover please</button> It won't work on some mobile browsers. Use JavaScript for such browsers
20th May 2020, 2:41 PM
Ore
Ore - avatar