HTML

HOW TO CREATE HTML IMAGE LINKS

1) WRAP IMAGE IN LINK

<a href="http://site.com">   <img src="IMAGE.JPG"/> </a>

2) JAVASCRIPT CLICK

<img src="IMAGE.JPG"  onclick="location.href= 'http://site.com'"/>   <img src="IMAGE.JPG" onclick="window.open ('http://site.com')"/>

3) FORM SUBMIT

<form action="http://site.com">   <input type="hidden" name="id"   value="123456"/>   <input type="image" src="IMG.JPG"/> </form>

4) CSS

<style> #demo {   display: block; width: 300px;   height: 200px; background-image:    url("IMAGE.JPG"); } </style> <a id="demo" href="http://site.com"></a>

5) IMAGE MAP

<img src="IMAGE.JPG" usemap="#imgmap">   <map name="imgmap">   <area href="http://site.com"                coords="233,193,56,134"              shape="rect"> </map>