areas
Summary
Returns an HTMLCollection of area elements included within the element.
Property of dom/HTMLMapElementdom/HTMLMapElement
Syntax
Note: This property is read-only.
var areaElements = mapElement.areas;
Return Value
Returns an object of type ObjectObject
An HTMLCollection of area elements.
Notes
Areas can be added to or removed from the collection. If duplicate identifiers are found, a collection of those items is returned. Collections of duplicates must be referenced subsequently by ordinal position. To add elements to the collection, use the createElement and add methods. Alternatively, use the insertAdjacentHTML method.
Related specifications
- DOM Level 2 HTML
- Recommendation
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]