Tuesday, January 11, 2011

How To Build An Image Link

Linking An Image To A Page

Here is the basic code for creating a link to a page from an image.  It is very similar to creating a text link, except that we are going to use an image instead of anchor text.

First make sure to either upload you image to your directory and copy the url location of the hosting site or find the url of the image online that you want to use.

Don't put a space between the 2 sets of code because some browsers will place a small box after them image, which looks odd.

<a href="Enter the URL of the page to link HERE"><img src="Enter your image link here"/></a>
 
 
 
 

No comments: