Wednesday, 24 April 2013
Web Technology - Fixing/ Mapping hotpost in image program using map and area tag
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Untitled Page</title>
</head>
<body>
<center>
<b> FIXING THE HOTSPOT</b>
<hr />
<map name="picture">
<img src="dow.jpg" alt="Deal of the day" usemap="picture"/>
<area shape="rect" coords="190,137,13,307" href="1.html" />
<area shape="rect" coords="1,2,3,4" href="1.html" />
<area shape="rect" coords="1,2,3,4" href="1.html" />
<area shape="rect" coords="1,2,3,4" href="1.html" />
<area shape="rect" coords="1,2,3,4" href="1.html" />
<area shape="rect" coords="1,2,3,4" href="1.html" />
</map>
</center>
</body>
</html>
OUTPUT:
you have to add 4 more html files in area tag (1.html to you own.html)
you can adjust co-ordinates of your own.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment