808r6
06-23-2007, 05:39 PM
im new and wanted to know how i set an image as a link to a specific site...
thanks for all the help!
thanks for all the help!
|
Click to See Complete Forum and Search --> : image as link? 808r6 06-23-2007, 05:39 PM im new and wanted to know how i set an image as a link to a specific site... thanks for all the help! Mr J 06-23-2007, 05:55 PM The simplest way is to nest it in an A tag <a href="www.thesite.com"><img src="pic.jpg"></a> • MaNiC MoE • 06-24-2007, 06:20 AM Simple : <a href="YOURWEBSITE"><img src="IMAGE"></a> <a href>PUT TEXT/EIMAGE/ETC</a> is the tag for hyperlinks. If you write text in between it, you've made a text hyperlink. I you put a picture, that's the hyperlink and anything in between the tags is a hyperlink.. Major Payne 06-24-2007, 09:49 AM Let's not forget to add the title="Link Information Here" attribute for the <a> tags. Wouldn't hurt to put the alt="" for the <img> tag if you plan on validating your pages and I hope you are. Ron Duplicate post: http://www.webdeveloper.com/forum/showthread.php?t=152427 webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |