How to link to an image to URL

ABabeNChrist
SilverLounger
Posts: 1868
Joined: 25 Jan 2010, 14:00
Location: Conroe, Texas

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>

User avatar
HansV
Administrator
Posts: 78236
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>
Best wishes,
Hans