| Version | W3C//DTD HTML 3.2 Final//EN
|
|---|
| Element | AREA |
|---|
| Purpose | define region on an imagemap which is a hypertext link |
|---|
| Description | The AREA element is used in the MAP element to define the region on an imagemap which is a hypertext link.
The area that is sensitive is defined in terms of X, Y pixel coordinates. Use a graphics program to find these.
|
|---|
| Start tag | Required <AREA>
|
|---|
| Attributes | | Name | Type | Default | Comment |
|---|
| alt | CDATA | #REQUIRED | needed for non-graphical user agents | | coords | CDATA | #IMPLIED | comma separated list of numbers; comma separated list of numbers; defines coordinates for shape | | href | CDATA | #IMPLIED | Uniform Resource Locator; see RFC1808 and RFC1738; this region acts as hypertext link; uniform resource locator | | nohref | ( nohref ) | #IMPLIED | this region has no action | | shape | ( rect | circle | poly ) | rect |
|
|
|---|
| Content | EMPTY
|
|---|
| End tag | Forbidden
|
|---|
| Referenced in | MAP
|
|---|
| Example | | Source | Appearance |
|---|
<MAP Name="mymap">
<AREA Shape="rect" Coords="0,0,100,50" Href="http://www.december.com/html/">
</MAP>
<IMG Src="../../images/icon.gif" Usemap="#mymap" Width="100" Height="100" Ismap>
|
|
|
|---|