img src in html using link code example
Example 1: html img src
<img href="https://website.com/image.jpg">
<!-- for an image online -->
<img src=C:\your_files>
<!-- for a local file -->
Example 2: html images with link
<a href="https://www.google.com">
<img src="./images/image.jpg" />
</a>