When the user will click on image how to give him more information? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

When the user will click on image how to give him more information?

2nd Sep 2016, 7:01 PM
Dular
2 Answers
+ 1
You can use JavaScript's onclick event.
2nd Sep 2016, 8:10 PM
Nenad__
Nenad__ - avatar
0
You can use the title attribute inside the <a> tag or <img> tag and when you go over the image or link it will give show you more information. Try: <a href ="http://www.yourlinkhere.com" title="This is a link and you can write additional information about it inside the title attribute">your link</a> <img src="yourimage.jpeg" title="This is an image of something and you can add any additional information about the image" />
14th Dec 2016, 6:15 PM
Dani Orellana
Dani Orellana - avatar