area (Domino DTD)

Represents a hotspot area on an image that a user can click to link to another database resource or a URL.

Containment Hierarchy

Contained by: <imagemap>

Contains: <code>, %rectpoints;, %polypoints;, %area.link;

Syntax

<!ELEMENT area ( (%rectpoints; | %polypoints;)?, (%area.link;)?, code? )> )>

Content

(%rectpoints; | %polypoints;)?, %area.link;?, code?

Optionally contains any of the contents of either the %rectpoints; or %polypoints; entities, optionally followed by any of the contents of the %area.link; entity, then an optional <code> element.

Attributes

<!ATTLIST area

type

(%area.type;)

#IMPLIED

tabindex

%integer;

"0"

alttext

%string;

#IMPLIED

targetframe

%string;

#IMPLIED

%html.core.attrs;

>

alttext

Text to display in the status bar when a user mouses over an invisible hotspot area. If the hotspot links to a URL, the URL address overwrites this alternate text.

tabindex

Identifies the position of this hotspot area in the tab order for the one or more hotspots contained by an imagemap.

targetframe

Name of the frame to display the URL or database resource retrieved by the hotspot link.

type

Defines the outline used to define the hotspot area. Can be any of the options in the %area.type; entity.

Defined entities for <area> element

The %area.link; entity defines the rich text links that can be included in an area.

Syntax:

<!ENTITY % area.link " %richtext.links;">

The %area.type; entity defines the optional outlines to use to define the hotspot area.

Syntax:

<!ENTITY % area.type "circle | default | rectangle | polygon ">

default

Creates a hotspot area that includes the entire image, by default.

The %polypoints; entity defines the three or more point coordinates that make up a polygon.

Syntax:

<!ENTITY % polypoints " ( point, point, point+ )">

point element

The %rectpoints; entity defines the point coordinates that make up a rectangle.

Syntax:

<!ENTITY % rectpoints " ( point, point )">

point element

Example