AreaElement
The HTMLAreaElement
interface provides special properties and methods (beyond those of the regular object HTMLElement
interface it also has available to it by inheritance) for manipulating the layout and presentation of area elements.
Documentation HTMLAreaElement by Mozilla Contributors, licensed under CC-BY-SA 2.5.
Instance Members
alt: String
Is a DOMString
that reflects the alt
HTML attribute, containing alternative text for the element.
coords: String
Is a DOMString
that reflects the coords
HTML attribute, containing coordinates to define the hot-spot region.
shape: String
Is a DOMString
that reflects the shape
HTML attribute, indicating the shape of the hot-spot, limited to known values.
target: String
Is a DOMString
that reflects the target
HTML attribute, indicating the browsing context in which to open the linked resource.
download: String
Is a DOMString
indicating that the linked resource is intended to be downloaded rather than displayed in the browser. The value represent the proposed name of the file. If the name is not a valid filename of the underlying OS, browser will adapt it.
ping: String
rel: String
Is a DOMString
that reflects the rel
HTML attribute, indicating relationships of the current document to the linked resource.
referrerPolicy: String
Is a DOMString
that reflects the referrerpolicy
HTML attribute indicating which referrer to use when fetching the linked resource.
relList: DOMTokenList
Returns a DOMTokenList
that reflects the rel
HTML attribute, indicating relationships of the current document to the linked resource, as a list of tokens.
noHref: Bool
Is a Boolean
flag indicating if the area is inactive (true
) or active (false
).
href: String
origin: String
protocol: String
username: String
password: String
host: String
hostname: String
port: String
pathname: String
search: String
hash: String