Image Map
Image Map
Image Map
Image Map,
also called a clickable image, is a single image that contains multiple links. Clicking on a portion of an image map takes you to the link connected with that part of the visual presentation. The two types of image maps are: 1. Server-Side 2. Client-Side The main difference between two types is where the processing takes place. In Server-side the processing is done at the server side an d In client side the processing is done at the client side.
1. They are faster and more reliable because all the calculations is performed on the client computer. 2. They are more user friendly as visitor movers the cursor over an image-map, the status bar generally displays the URL of the link. 3. Client-side Image Maps can be tested before placing them on the server.
Disadvantage 1. The only disadvantage is that old browsers do not support Client-side Image maps.
In this step we define these three shapes in an image using any imageediting program.
<html> <head> <title>image map</title> </head> <body> <img src="imagemap.jpg" alt="image map" usemap="#websites1"> <map name="websites1"> <area shape="rect" coords="20,100,177,186" href="http://www.google.com" alt="home page of google" / >