'area' Example : area « HTML Tag Reference « HTML CSS Reference






'area' Example

    
<html>
<head>
<title>area element example</title>
</head>
<body>
    <img src="yourimage.gif" alt="" width="200" height="100" usemap="#myMap">
    <map name="myMap">
    <area shape="rect" coords="0, 0, 10, 50" href="http://www.java2s.com">
    <area shape="rect" coords="100, 0, 20, 50" href="http://www.google.com">
    <area shape="rect" coords="0, 50, 10, 10" href="http://www.demo2s.com">
    <area shape="rect" coords="10, 50, 20, 10" href="http://www.google.com">
    </map>
</body>
</html>           


      
      








Related examples in the same category

1.'area' Syntax and Note
2.'area' HTML Attributes
3.'area' Event Handlers
4.'area' CSS Attributes and JavaScript Style Properties
5.'area' Microsoft Behaviors
6.'area' JavaScript Properties
7.'area' JavaScript Methods
8.'area' JavaScript Collections