'usemap' Example : usemap « HTML Attributes Reference « HTML CSS Reference






'usemap' Example

    
<HTML>
<head><Title>Example For usemap</Title></head>
<BODY>
<map name="myMap">
   <area shape="rect" coords="0, 0, 100, 50" href=http://www.java2s.com>
   <area shape="rect" coords="100, 0, 200, 50" href="http://www.java2s.com">
   <area shape="rect" coords="200, 0, 300, 50" href="http://www.java2s.com">
</map>
<img src="http://www.java2s.com/style/logo.png" 
     alt="http://www.java2s.com" 
     width=300 
     height=100 
     usemap="#myMap">

</BODY>
</HTML>
    
      
      








Related examples in the same category

1.'usemap' Syntax and Note
2.usemap is applied to