Help Center

Local Navigation

Object: HTMLAreaElement

Availability

BlackBerry® Device Software version 4.6 or later

Extends

HTMLElement

The HTMLAreaElement object represents an <area> element in an HTML document.

The <area> element defines an area of an image map. The <area> element is always a child of the <map> element.

HTMLAreaElement properties

Property name

Type

Description

Status

Support level

Availability

accessKey

DOMString

Specifies the keypad key that gives access to the element.

writable

DOM 2 HTML

4.6 or later

alt

DOMString

Specifies alternate text that is rendered when the normal content of the element is not.

writable

DOM 2 HTML

4.6 or later

coords

DOMString

Specifies a comma-separated list of the coordinates for HTMLAreaElement.shape, which defines the active region in an image map.

writable

DOM 2 HTML

4.6 or later

href

DOMString

Specifies the URI of the target of the link.

writable

DOM 2 HTML

4.6 or later

noHref

boolean

When true, indicates that the area is inactive and does not link to another resource.

writable

DOM 2 HTML

4.6 or later

shape

DOMString

Specifies the shape of an active region in an image map. The coordinates of the shape are specified by HTMLAreaElement.coords.

writable

DOM 2 HTML

4.6 or later

tabIndex

int

Specifies the element’s position in the tabbing order.

writable

DOM 2 HTML

4.6 or later

target

DOMString

Specifies the frame in which to render the target document.

writable

DOM 2 HTML

4.6 or later


Was this information helpful? Send us your comments.