Area hash Property
Area Object
Definition and Usage
The hash property can set or return the anchor part of the href attribute value.
Syntax
areaObject.hash=
anchorname
Browser support





All major browsers support the hash property.
Example
Example
The following example returns the anchor part of the href attribute in the "Venus" region:
Anchor of Venus's href attribute:
The example above produces the following output:
Anchor of Venus's href attribute: #description
Try it »
Area Object