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

Home
HTML CSS Reference
1.CSS Attributes and Javascript Style Properties
2.HTML Attributes Reference
3.HTML Tag Reference
HTML CSS Reference » HTML Attributes Reference » shape 
'shape' Example

    
<HTML>
<head><Title>Example For shape</Title></head>
<BODY>
<img src="yourImage.gif" alt="" width=200 height=100 usemap="#myMap">
   <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.microsoft.com>
      <area shape="rect" coords="0, 50, 100, 100" href=http://www.msn.com>
      <area shape="rect" coords="100, 50, 200, 100" href=http://www.yahoo.com>
   </map>
</BODY>
</HTML>  
    
      
      
Related examples in the same category
1.'shape' Syntax and Note
2.shape Possible Values
3.shape is applied to
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.