Links within images? HTML | SoloLearn: Learn to code for FREE!


Links within images? HTML

Is it possible to place a link within an image (like the twitter links). If so, (I’d assume so), how would I do it?

11/15/2018 4:43:12 AM


4 Answers

New Answer


Did you try this? <a href="link" target="_blank"> <img src="img_location" alt="name" /> </a>


Yes, that should work. But if you have troubles, share your code, and I'll try to fix it 😊


This code may help you also!!


Kishalaya Saha Thank you, I will try it.