Answers for "html image onclick"

1

html image onclick

<!-- Have JavaScript open current image in a new window -->
<img src="https://i.imgur.com/7KpCS0Y.jpg" onclick="window.open(this.src)">
Posted by: Guest on January-29-2022

Browse Popular Code Answers by Language