html use picture as link code example
Example 1: html image with link
<a href="https://www.google.com">
<img src="./images/image.jpg" />
</a>
Example 2: how to make an image link on html
<a href="your-hyper-link">
<img src="image.png" alt="HTML img link tutorial" style="width:42px;height:42px;border:0">
</a>