I had a client ask me how to do the HTML to link an image to an email address. Figured I'd post my response here in case it can help others. It's basic stuff, but useful to some I guess!
This is how you do the IMAGE HTML:
<img src="PATH-TO-IMAGE-FILE-HERE" />
(so let's say your image is here: http://www.flickr.com/photos/cairnrhana/4706506245/
to put that image into HTML – you'd do this:
<img src="http://www.flickr.com/photos/cairnrhana/4706506245/" />
To do a LINK – you need to wrap something with an anchor tag…
<a href="LINK-TO-SOMEWHERE">STUFF HERE</a>
So let's say you wanted to link some text to http://somewhereovertherainbow.com
<a href="http://somewhereovertherainbow.com/">TEXT HERE</a>
To link the IMAGE to that URL you'd take your "text here" out and put in the HTML for your image:
<a href="http://somewhereovertherainbow.com/"><img src="http://www.flickr.com/photos/cairnrhana/4706506245/" /></a>
To do an EMAIL link – instead of a URL you add "mailto:" in the anchor tag's href – then follow that up with the email address you want to link to:
<a href="mailto:dorothy@overtherainbow.com"><img src="http://www.flickr.com/photos/cairnrhana/4706506245/" /></a>