How to Hyperlink an Image

 
To hyperlink an image first we have to insert the image on the web page. So question is how to insert the image on the web page. In html the image can be inserted using the <img> tag. <img> tag has the attributes like width, height and src, which specifies the height and width of the image that is to displayed on the web page and scr has the value of the path where the image is stored.
 
<img> tag does not have the end tag.
 
So now use the <img> tag.
 
Format of <img> tag :
<img src=”path” width=”number” height=”number”>
 
Example:
<img src=”img\logo_in.gif” width=”200″ height=”200″> Remember the file & path of the file you provided in the src attribute of the any tag should be correct and must exist.
 
The example inserts the image “logo_in.gif” with the height of 200 pixel and width of 200 pixel. By using this tag you can insert the image in your html file, now if you want to create this image the hyperlinkthen follow the steps.