Area noHref Property
Area Object
Definition and Usage
The noHref property can set or return the nohref attribute value of a region.
The nohref attribute specifies that a region has no related link.
Tip: The nohref attribute notifies the browser that the hyperlink attribute does not exist. You can also simply omit the href attribute to set that there is no related link.
Syntax
areaObject.noHref=true|false
Browser support





All major browsers except IE support the noHref property.
Example
Example
The following example returns the "noHref" property of the "Venus" region in the image map:
width="145" height="126"
usemap="#planetmap">
Value of nohref attribute for the "Venus" area is:
The example above produces the following output:
Value of nohref attribute for the "Venus" area is: true
Try it »
Area Object