Area alt Property
Area Object
Definition and Usage
The alt property returns or sets the alt attribute value of a region.
The alt attribute specifies the alternate text to display when the browser cannot show a region.
Syntax
areaObject.alt=
alternate_text
Browser support





All major browsers support the alt property.
Example
Example
The following example returns the alternate text of the "Venus" region in an image map:
Alternate text for Venus:
The example above produces the following output:
Alternate text for Venus: Venus
Try it »
Area Object