HTML – How to Turn an Image into a Link

Most of the questions I get are about images and links.

How to turn an image into a link, use this code:

<a href="http://www.freehtmlbook.com/">
<img src="
http://www.freehtmlbook.com/images/S-E-S-T-H-S-SMALL2.jpg">
</a>

In the code above, the first URL is the destination.
The second URL is the location of the image

Here is how the code renders on a web page (below). Try clicking the book…

S E S T H S SMALL2 HTML   How to Turn an Image into a Link

Be Sociable, Share!
  • vuible HTML   How to Turn an Image into a Link
  • more HTML   How to Turn an Image into a Link
You can leave a response, or trackback from your own site.

Leave a Reply

Powered by WordPress | Designed by: Drug Rehab | Best Bank CD Rates, VPS Hosting and Cheap Toys
Powered by Yahoo! Answers