img by link in a n html page code example
Example 1: linked image html
<a href="https://example.url.com">
<img src="image.png" alt="An image">
</a>
Example 2: how to add image in html
<img src="logo.png" />
<a href="https://example.url.com">
<img src="image.png" alt="An image">
</a>
<img src="logo.png" />