Log in

View Full Version : Help!! Please



GABBY
04-23-2007, 04:47 PM
I Want A Html Code To Put A Pic On My Website To Be A Link To My Home Page. Like When You Go To A Site And You Have To Click Here To Enter Or Click On The Persons Logo To Enter. That Is What I Want. Can You Tell Me How To Get That??

Thanks
Gabby

riptide
04-23-2007, 05:03 PM
um.....
<img src="image file" onclick="page you want to go to url"/>

boogyman
04-23-2007, 05:13 PM
<a href="_URL_TO_PAGE_"><img src="_path_to_image_" width="__" height="__" alt="_brief_description_" /></a>

replace the parts with the path names, and be sure to put a description in the alt tag, that way if for some reason your image couldn't load there will at least be a text representation.

GABBY
04-23-2007, 05:17 PM
Thanks A Bunch

Veronica
04-23-2007, 09:13 PM
You will probably also want to set the border to zero (border="0"), otherwise you might get an unwanted blue line around the picture.



<a href="_URL_TO_PAGE_"><img src="_path_to_image_" border="0" width="__" height="__" alt="_brief_description_" /></a>


You can also change that with css, but it sounds as if this will be easier for you.

boxxertrumps
04-23-2007, 10:13 PM
I Want A Html Code To Put A Pic...
I Used To Type Like That But I Was Told It Was Annoying And Hard To Read...

also, width and height aren't valid in some instances, best to leave them out.

mburt
04-23-2007, 10:18 PM
also, width and height aren't valid in some instances, best to leave them out.They are depreciated (or so Twey said), and CSS should be used.

boxxertrumps
04-23-2007, 10:49 PM
Sorry, GF on comp.