|
|
home
/ reference
/ html
<area></area>

alt
class
shape
coords
href
id
nohref
style
target
title
The <area> tag is to give identification to objects with an image map (See <map> for more information).
Between a set of <map> tags, place an <area> tag for each object you want an id for.
<area alt="">
| |
Description
| |
The alt attribute is used to show the alternate text that will be displayed if the
section of the image can not be loaded
|
Code
| |
<area alt="ALTERNATE TEXT"></area>
|
|
<area class="">
| |
Description
| |
The class attribute is used to associate a particular area within an image map
with a style sheet class.
|
Code
| |
<area class="CLASSNAME"></area>
|
|
<area shape="">
| |
Description
| |
The shape attribute is used to describe what type of figure is being
described within an image map. Acceptable values are Circle, rect, and polygon, to
be used for irregular shapes that are not rectangles or circles.
|
Code
| |
<area shape="rect"></area>
|
|
<area coords="">
| |
Description
| |
The coords attribute is used to indicate the (x,y) coordinates of the area of
the image map you are describing. If the shape is a rectangle,
the coordinates should be upper-left, lower-right, respectively. If the shape is
a circle, the coordinates should be center-x, center-y, radius, respectively. If the
shape is an irregular polygon, the coordinates should be x1,y1, x2,y2...
|
Code
| |
<area shape="rect" coords="20,12,40,24"></area>
|
|
<area href="">
| |
Description
| |
The href attribute is used to indicate where a click in the indicated
area should take the user.
|
Code
| |
<area href="http://abiglime.com/webmaster"></area>
|
|
<area id="">
| |
Description
| |
The id attribute is used to assign a unique id to an area within an image
map for use within scripting functions.
|
Code
| |
<area id="AREANAME"></area>
|
|
<area nohref="">
| |
Description
| |
The nohref attribute is used to indicate that the referenced area within
the image map will not send the user anywhere when clicked.
|
Code
|
<area style="">
| |
Description
| |
The style attribute is for using inline style sheets with the <area> tag.
|
Code
| |
<area style="STYLENAME"></area>
|
|
<area target="">
| |
Description
| |
The target attribute is used to assign an area within an image to change
a frame when clicked on. Use the target attribute to indicate the target frame
where a page will be displayed.
|
Code
| |
<area target="TARGETFRAME"></area>
|
|
<area title="">
| |
Description
| |
The title attribute, which only works in Internet Explorer 4.0 and above, is used
to create tool tip text when the mouse hovers over the indicated area of the image map.
|
Code
| |
<area title="TOOLTIPTEXT"></area>
|
|
|