Professional Documents
Culture Documents
29SCS124
Ex. No: 3
19/01/2011 IMAGE MAPS
Aim:
To create client side and server side image maps.
Descriptions:
Image maps allow make certain areas of an image into links.
Program:
Main Page:
<html>
<body>
<h1 align=Center>Server side image mapping</h1>
<p align=center>
<a href = "page1.htm"> <img src ="hp.jpg" ismap>
</a>
</p>
<hr/>
<h1 align =Center>Client side image mapping</h1>
<p align = center><img src="apple.jpg" usemap="#aa"/>
<map name="aa">
<area shape = "rect" coords="0,0,148,71" href="apple.htm">
</map>
</body>
</html>
Server Side:
<html>
<body>
<p align="center"><b>What’s new with the HP MediaSmart Server EX490/EX495?
</b></p>
<ul class="bulletlist">
<li>Create custom settings and profiles to suit your needs </li>
<li>Easily control how you convert your home videos </li>
<li>The EX490 lets you store up to 260,000 photos, or 227,000 songs, or 600 hours of video
</li> <li>The EX495 lets you store up to 390,000 photos or 340,000 songs or 900 hours of
video </li>
<li>Hard disk recovery, media collection, and enhanced administration for Mac users </li>
<li>Faster response time and improved status feedback </li>
</ul>
<p align=center><a href="main.htm">Back to home page</a></p>
</body>
</html>
Priyankar Paul 3
29SCS124
Client Side:
<html>
<title>Macintosh OS</title>
<body>
<p align="center"><img border="0" src="Mac.jpg" width="125" height="119"></p>
<p><b>Company / Developer: </b>Apple <br>
<b>OS family:</b> Mac OS (System 1-7, Mac OS 8-9), Unix (Mac OS X)<br>
<b>Working state:</b> Publicly released <br>
<b>Source model:</b> Closed source (with open source components) <br>
<b>Latest stable release:</b> 10.6.5 [4] (November 10, 2010; 2 months ago (2010-11-
10))<br>
<b>License Proprietary:</b> EULA <br>
<b>Official website:</b> <a
href="http://www.apple.com/macosx/">www.apple.com/macosx/</a>
<br> </p>
<p align="center"><a href="main.htm">Back to home page</a></p>
</body>
</html>
Priyankar Paul 4
29SCS124
Output:
Priyankar Paul 5
29SCS124
Result:
Thus the HTML code for client side and server side image mapping has been done and its
output successfully verified.