programs for...

Started by
3 comments, last by Neophyte 16 years, 11 months ago
Hi everyone, I would like to know how would i put a link within a picture? I dont know html code, was wondering if there was a program to do it with. What i mean is, i have a picture i want to put a link in it so when u click on it it goes to another page. thanks
Advertisement
Try this,

<a href="link to the web page.htm"><img src="your image.gif"></a>


Don't know why your posting that here though!.

MAMEman,
<a href="link-destination"><img href="image-location"></img></a>


link-destination is the location of the page you want to link to.

image-location is the location of the image you want to use as link.

Any web page editor allows that.
The W3C would dearly love you to do

<a href="link-destination"><img href="image-location" alt="descriptive-text" /></a>


but very few people do (XHTML demands there be an alt-text supplied and that the img tag be closed -- idiomatically, like that).
[TheUnbeliever]
That should be
<img src="image-location" />

This topic is closed to new replies.

Advertisement