+ 1

How do i add a link to an image, help with the code

1st Apr 2019, 6:52 PM
Abdullahi Lawal
Abdullahi Lawal - avatar
3 Respuestas
+ 2
Abdullahi Lawal may need to Read CSS
1st Apr 2019, 7:20 PM
Hussaini Abubakar
Hussaini Abubakar - avatar
+ 11
to add link to image wrap the <img> tag by <a> tag.
1st Apr 2019, 7:51 PM
Ahad
Ahad - avatar
+ 9
This should work. You wrote it wrong. <a href='http://i.imgur.com/KloC8z5'><img src='http://i.imgur.com/KloC8z5.jpg' alt='' width="350px" height="1000px" style="display:block; margin-left:auto; margin-right:auto;"></a>
1st Apr 2019, 8:24 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar