How to Link Image | HTML Code to Link Image

I know lots of you already know the HTML code to link Images or how to link Image. But for those who don’t know yet, here’s the code:

<a href="YOUR TARGET SITE URL HERE" target="_blank"><img src="IMAGE URL HERE" alt=" "/></a>

Relpace the words YOUR TARGET SITE URL HERE with the URL of the site you want to link the image, and replace the words IMAGE URL HERE with the image url, of course.

You can put text inside alt tags (alt=” “) if you wish to, so when the image does not show up, there will be an alternate text for the image.

target=”_blank” is optional. It is use if you want the link to open in new tab or window.

Example:

<a href="http://multiplythemeslayouts.com/" target="_blank"><img src="http://i257.photobucket.com/albums/hh202/underscore30/button_.png" alt="Multiply Themes and Layouts "/></a>

If you want to link to this page from your website, simply cut and paste the following code to your web page.

It will appear on your page as:

How to Link Image | HTML Code to Link Image

Have a great day everyone!