Version-//W3C//DTD HTML 4.01 Transitional//EN
ElementAREA
Purposeclient-side image map area
DescriptionThe 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 tagRequired <AREA>
Attributes
NameTypeDefaultComment
accesskey CDATA #IMPLIEDa single character from ISO10646 (see RFC1815); accessibility key character
alt CDATA #REQUIREDtext; short description
class CDATA #IMPLIEDspace-separated list of classes
coords CDATA #IMPLIEDcomma-separated list of lengths
dir( ltr | rtl )#IMPLIEDdirection for weak/neutral text
href CDATA #IMPLIEDUniform Resource Identifier as per RFC2396; a Uniform Resource Locator (URL) is a URI; URI for linked resource
idID#IMPLIEDdocument-wide unique id
lang NAME #IMPLIEDlanguage code as RFC1766
nohref( nohref )#IMPLIEDthis region has no action
onblur CDATA #IMPLIEDscript expression; the element lost the focus
onclick CDATA #IMPLIEDscript expression; a pointer button was clicked
ondblclick CDATA #IMPLIEDscript expression; a pointer button was double clicked
onfocus CDATA #IMPLIEDscript expression; the element got the focus
onkeydown CDATA #IMPLIEDscript expression; a key was pressed down
onkeypress CDATA #IMPLIEDscript expression; a key was pressed and released
onkeyup CDATA #IMPLIEDscript expression; a key was released
onmousedown CDATA #IMPLIEDscript expression; a pointer button was pressed down
onmousemove CDATA #IMPLIEDscript expression; a pointer was moved within
onmouseout CDATA #IMPLIEDscript expression; a pointer was moved away
onmouseover CDATA #IMPLIEDscript expression; a pointer was moved onto
onmouseup CDATA #IMPLIEDscript expression; a pointer button was released
shape( rect | circle | poly | default )rectshape; controls interpretation of coords
style CDATA #IMPLIEDstyle sheet data; associated style info
tabindex NUMBER #IMPLIEDposition in tabbing order
target CDATA #IMPLIEDrender in this frame
title CDATA #IMPLIEDtext; advisory title
ContentEMPTY
End tagForbidden
Referenced in MAP
Example
SourceAppearance
<P>
<MAP Name="mymap">
<AREA Shape="rect" Coords="0,0,100,50" Href="http://www.december.com/html/" Alt="The HTML Station">
</MAP>
<IMG Src="../../images/icon.gif" Usemap="#mymap" Width="100" Height="100" Ismap Alt="imagemap">

The HTML Station imagemap

Save this page to any social bookmarking site! Share · Search · Market · Directory
2015-11-01 · John December · Contact · Terms of Use © December Communications, Inc.