--- title: HTMLMapElement slug: Web/API/HTMLMapElement tags: - API - HTML DOM - インターフェイス - リファレンス translation_of: Web/API/HTMLMapElement ---
{{ APIRef("HTML DOM") }}

HTMLMapElement インターフェイスは、map 要素のレイアウトと表示を操作するための特別なプロパティとメソッド (継承によっても利用可能な通常のオブジェクト {{domxref("HTMLElement")}} インターフェイスを超えるもの) を提供します。

{{InheritanceDiagram(600, 120)}}

プロパティ

親の {{domxref("HTMLElement")}} からプロパティを継承しています。

{{domxref("HTMLMapElement.name")}}
Is a {{domxref("DOMString")}} 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}}
Is a live {{domxref("HTMLCollection")}} representing the {{HTMLElement("area")}} elements associated to this {{HTMLElement("map")}}.

メソッド

特定のメソッドはありません。親である {{domxref("HTMLElement")}} からメソッドを継承します。

仕様

仕様書 ステータス コメント
{{SpecName('HTML WHATWG', "#htmlmapelement", "HTMLMapElement")}} {{Spec2('HTML WHATWG')}}  
{{SpecName('HTML5 W3C', "embedded-content-0.html#the-map-element", "HTMLMapElement")}} {{Spec2('HTML5 W3C')}} images プロパティを追加します。
{{SpecName('DOM2 HTML', 'html.html#ID-94109203', 'HTMLAreaElement')}} {{Spec2('DOM2 HTML')}} {{SpecName("DOM1")}} からの変更はありません。
{{SpecName('DOM1', 'level-one-html.html#ID-94109203', 'HTMLAreaElement')}} {{Spec2('DOM1')}} 初期定義

ブラウザの互換性

{{Compat("api.HTMLMapElement")}}

あわせて参照