how to add an image to a link in 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: html image with link
<a href="https://www.google.com"><img alt="Google" src="img.jpg"
style="max-width:960px"/></a>