-
Notifications
You must be signed in to change notification settings - Fork 22.7k
/
Copy pathindex.md
37 lines (23 loc) · 1.18 KB
/
index.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
title: HTMLMapElement
slug: Web/API/HTMLMapElement
page-type: web-api-interface
browser-compat: api.HTMLMapElement
---
{{ APIRef("HTML DOM") }}
The **`HTMLMapElement`** interface provides special properties and methods (beyond those of the regular object {{domxref("HTMLElement")}} interface it also has available to it by inheritance) for manipulating the layout and presentation of map elements.
{{InheritanceDiagram}}
## Instance properties
_Inherits properties from its parent, {{domxref("HTMLElement")}}._
- {{domxref("HTMLMapElement.name")}}
- : A string representing the {{HTMLElement("map")}} element for referencing it other context. If the `id` attribute is set, this must have the same value; and it cannot be `null` or empty.
- {{domxref("HTMLMapElement.areas")}} {{ReadOnlyInline}}
- : A live {{domxref("HTMLCollection")}} representing the {{HTMLElement("area")}} elements associated to this {{HTMLElement("map")}}.
## Instance methods
_No specific method; inherits methods from its parent, {{domxref("HTMLElement")}} ._
## Specifications
{{Specifications}}
## Browser compatibility
{{Compat}}
## See also
- HTML element implementing this interface: {{ HTMLElement("map") }}.