Friday, November 27, 2009

Image with URL Link

Use this basic code to post an image and have the image link to a URL address.
<a href="http://URL linking to"><img src="http://URL of image" /></a>

For example, use the following code. . .
<a href="http://customscentsonline.blogspot.com/2008/05/win-1-dram-bottle-of-your-favorite.html"><img src="http://i177.photobucket.com/albums/w213/rakrose/TwilightAnime.gif" /></a>

To create this:



If you want to center it in the post or sidebar, add
<div align="center">

at the beginning of your code and
</div>

at the end of your code to create this:





---------
©Karlene Browning, Karlene's Cheat Sheet.