Tag AREA

Description
Each element of <AREA> defines active areas of image data, these areas are actually links. The picture with active areas, which are attached to it, called the image map. Such map does not differ from the typical image seemingly, but it can be partitioned to the hidden areas of different shape, in which each area is a link. Tag <AREA> defines the form of the area, its coordinates, sets the address, where the link must be created, and the name of the window or frame the browser will download the document to. This tag is also located in package <MAP>, which links coordinates of the areas with the image.
<map>
<area href="URL" />
</map>
Parameters
alt alternate text for image area
coords coordinates of the active area
href defines the address of the document to jump to
nohref the area without a link to another document
shape shape of the area
target the name of the window or frame, where the browser is going to install the document
Closing Tag
Is optional.
The Description of Tag <AREA> Parameters
ALT Parameter
Description
The ALT Parameter determines alternate text for the image area. Such text is imaged as a bubble help while pointing the mouse cursor to the area. Not all the browsers support the ALT parameter.
<area alt="теxt" />
Optional Parameter
Yes
Arguments
Any acceptable text line. It must be put in quotes.
Default value
No
COORDS Parameter
Description
NDefines coordinates of the area, it’s also called “hot area”. Such area can be a link to a file or linked with the action that is defined by a script.
The meanings of coordinates are numbers, which are separated by commas. If two areas are overlapped with each other, the area, which is defined in the code HTML above, has a priority.
<area coords="coordinate 1, coordinate 2, coordinate 3, ..." />
Optional Parameter
No
Arguments
The group of coordinates is defined by the form of “hot area”, which is set by SHAPE parameter. Count of coordinates is usually taken from the top left angle of the image and is indicated in pixels.
Default value
No.
HREF Parameter
Description
Defines the address of the document to jump to. The document of any type can be used as the link address, so the result of the link following depends on the final file. The history (file with rar or zip extention) will be saved on the local disk. The new document is downloaded to the new browser window by default, but this property can be changed with the help of target parameter.
<area href="URL" />
Optional Parameter
Yes.
Arguments
The full or relative way to the file and the indication to the function JavaScript are used as a value.
Default value
No.
NOHREF Parameter
Description
This parameter informs the browser, that the “hot area” is not a link. Meanwhile parameter href must not be enabled.
<area />
Arguments
No.
Default value
Nohref parameter is not determined.
SHAPE Parameter
Description
Defines the form of the “hot area”, its coordinates are set with the help of coords parameter.
<area shape="circle | poly | rect" />
Arguments
circle the area in a form of circle
poly the area in a form of polygon
rect square area
Default value
rect
TARGET Parameter
Description
While link following the document is opened in the active window or frame. This term can be changed with target parameter of tag <AREA> when necessary.
<area target="name of window" />
Arguments
The name of window or frame is used as an argument. This name is determined by name parameter. If a null name is determined, the new window will open. As reserved names the next are used:
_blank downloads the page to the new browser window
_self downloads the page to the active window
_parent downloads the page to the frame-parent. If there are no frames, this parameter works as _self
Default value
_self
WordPress contact form
PHP forms
Application form
HTML forms