Area href Property
Area Object
Definition and Usage
The href property can set or return the value of the href attribute of a region.
The href attribute specifies the target link of a region.
Syntax
areaObject.href=
URL
Browser support





All major browsers support the href property.
Example
Example
The following example returns the href attribute of the "Venus" region in the image map:
Href attribute value of Venus:
The example above produces the following output:
Href attribute value of Venus: http://www.runoob.com/try/demo_source/venus.htm
Try it »
Area Object