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

0

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

Yosharu

4 Answers

New Answer

+7

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

+3

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

+2

This code may help you also!! https://code.sololearn.com/WMOilF1Z6KC3/?ref=app

+1

Kishalaya Saha Thank you, I will try it.