0

How do I insert an image into an input field and still nest the anchor tag? (The image when clicked will open a url)

5th Apr 2020, 10:54 PM
Emmanuel
Emmanuel - avatar
2 Answers
+ 1
You cannot put anything INSIDE an input field... but you could put anything ABOVE an input field, wich lets you simulate that the element above is inside: https://code.sololearn.com/Wh8DhTfY9lpT/?ref=app
6th Apr 2020, 8:17 AM
visph
visph - avatar
+ 2
<a href="link"><img src="image"></a>
5th Apr 2020, 11:35 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar