Link | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Link

How to insert link in an image? What could be the code for that?

9th May 2019, 8:50 AM
Rosa Amor Dullas
Rosa Amor Dullas - avatar
1 Answer
+ 5
put the img element inside an anchor tag: <a href='link/to/some/place'> <img src='my_image.jpg'> </a>
9th May 2019, 8:55 AM
Ulisses Cruz
Ulisses Cruz - avatar