How to make a program which gives an explanation (definition) of any word when we move the mouse onto? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to make a program which gives an explanation (definition) of any word when we move the mouse onto?

as we can see in sololear presentations they have every keyword underlined and when we move mouse onto that word is shows us a definition. Can yiu help me in understanding how it works? should I use JS and mouse functions?

28th Mar 2018, 12:52 PM
Paweł Grünholz
Paweł Grünholz - avatar
2 Answers
+ 7
well, in html 5 . you can use the title attribute on a specific word to show a text when you hover the mouse over it, also make the word underlined.. So I think all you need is html & css
28th Mar 2018, 1:09 PM
Ashraf Al_Absi
Ashraf Al_Absi - avatar
+ 1
thanks friend!
28th Mar 2018, 6:55 PM
Paweł Grünholz
Paweł Grünholz - avatar