USE A PICTURE FOR YOUR LINK

If you would like to replace your text for a link into a picture just follow these easy steps. (I will be using the Student Websites link as my example and a generic image name)

 

We have already added links to our websites by using the following:

 

<a href=”http://spikenlilli.com/Teaching/courses/pS13_610/sites.html”target=”_blank”>Student Sites</a>

 

We have also already added images to our websites by using the following tag:

 

<img src=”picture.jpg” />

 

Now in order to make a text link into an image link we need to combine those two tags by using the following tag:

 

<a href=”=”http://spikenlilli.com/Teaching/courses/pS13_610/sites.html”target=”><img src=”picture.jpg”/></a>

 

Now your page should show an image where “Student Websites” use to be displayed.  When you click on that image you should go to the Student Websites!

Advertisements

~ by adz122013 on February 11, 2013.

 
%d bloggers like this: