how to make an image with link html code example
Example 1: html image with link
<a href="https://www.google.com">
<img src="./images/image.jpg" />
</a>
Example 2: html create an image link
<!DOCTYPE html>
<html>
<body>
<img alt="Qries" src="https://www.qries.com/images/banner_logo.png"
width="150" height="70" onclick="document.location.href='https://link.com'">
</body>
</html>
Example 3: 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>