Friday, May 11, 2007

Code to Link a website with a Picture

Cougars Footy Tipping Competition

To create a picture that links directly to a website, you need to do the following...

NOTE - To read the code for this picutre, you need to go into the "Edit HTML" mode

As you can see, the first part of the code is the website link - a href="WEBSITE". The words - target="_blank" after the website will cause a new window to open when the picture is clicked. Note: to get the URL address, simply go to that website and then copy the address from your browser header.

The second part of the code - img alt="WRITE A DESCRIPTION IN HERE" is where you would write whatever words you wants to appear when you hover over the picture.

That last part of the code - src="WEBSITE ADDRESS" border="0" - is the link to whatever picture you want to use. In this instant the code has been copied from photobucket. I strongly suggest the Eagles get a photobucket account. It's free and you can load whatever photos you want onto it. After you load up a photo to their website, you simply click the "URL Link" box below the photo and it will copy the code for you so you can paste it in here.

If you do use photobucket or a similar photosharing site, here is an important tip. Do NOT delete the photo from the photobucket website otherwise your link to the photo will be broken and non-existant.