How to link to an image to URL

User avatar
ABabeNChrist
SilverLounger
Posts: 1779
Joined: 25 Jan 2010, 15:57
Location: Hemet, California

How to link to an image to URL

Post by ABabeNChrist »

I know somewhat the basic's but I just cant seem to link to an image
Here's what I have so far

Code: Select all

<html>
<body>

<img src="KarensHelpingHands.jpg" width="104" height="142" />

</body>
</html>
When one door of happiness closes, another opens,
but often we look so long at the closed door that we do not see
the one that has been opened for us.
Helen Keller

User avatar
HansV
Administrator
Posts: 71500
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: How to link to an image to URL

Post by HansV »

Simply put link tags around the img tags:

<a href="http://www.eileenslounge.com"><img src="KarensHelpingHands.jpg" width="104" height="142" /></a>
Regards,
Hans