+ 1

How to put link into img?

How to put link into img?

31st Jul 2021, 9:04 AM
Матвей Барканов
Матвей Барканов - avatar
6 Respostas
+ 4
<a href=""><img src="" alt=""></a> 😂😂
31st Jul 2021, 9:09 AM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 2
Open Link in New Tab: <img src='(image URL)' onclick="window.open('https://example.com/', '_blank')"> -- OR -- Open Link in Same Tab: <img src="(image URL)" onclick="window.location.href='https://example.com'">
31st Jul 2021, 9:53 AM
Sancho Godinho
Sancho Godinho - avatar
1st Aug 2021, 3:13 PM
Miss Sultan
Miss Sultan - avatar
+ 1
You can't. Put image into the link instead: <a href=""> <img src="" alt=""> </a>
31st Jul 2021, 9:07 AM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
0
How can I do it in a 1 line?
31st Jul 2021, 9:08 AM
Матвей Барканов
Матвей Барканов - avatar