Leakbali
w3 Tutorial, Web Tutorial
Switch to English Bahasa Indonesia 
Register   Login

Tags Reference


Defines an area inside an image-map
<html>
<body>

<p>Click on the colors of the flag:</p>

<img src="italy.gif" width="180px" height="120px" alt="Italy Flag" usemap="#flagmap" />

<map name="flagmap">
  <area shape="rect" coords="0,0,60,120" alt="Green" href="#green" />
  <area shape="rect" coords="60,0,120,120" alt="White" href="#white" />
  <area shape="rect" coords="120,0,180,120" alt="Red" href="#red" />
</map>

</body>
</html>
The coords attribute specifies the x and y coordinates of an area. The coords attribute is used together with the shape attribute to specify the size, shape, and placement of an area. The coordinates of the top-left corner of an area are 0,0.

<area /> Example

Click on the colors of the flag:

Italy Flag Green White Red

References

About Us

Home
About Us
Contact Us
Sitemap

Tools

Google PageRank
Alexa Rank
Keywords Density

Accounts

Register Account
Login
Valid XHTML 1.0 TransitionalValid CSS!
Web Directory


2006 - 2012 © Leakbali.com - Free Web Tutorial, Free Web Articles, Web Sharing, Source Codes, Web References