How To Add Hyperlink On Image In Html

How To Add Hyperlink on Image in HTML

To add the hyperlink on the image in html, we will add the <a> element to cover the <img> element. To specific the hyperlink, we will use href attribute to point it to the specific site. Let me show you how I pointed it to my website.

<a href="">
  <img src="image.jpg" alt="Jorcus Image Link Tutorial">

I strongly recommend you try it on your own. We also have a more complete tutorial that help you get a start with hyperlink.