HTMLMapElement

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

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

EventTarget Node Element HTMLElement HTMLMapElement

プロパティ

親である HTMLElement から継承したプロパティがあります。

HTMLMapElement.name

他のコンテキストを参照するための <map> 要素を表します。id 属性が設定された場合、これは同じ値である必要があります。null や空文字列にすることはできません。

HTMLMapElement.areas 読取専用

生きた HTMLCollection で、この <map> に関連付けられた <area> 要素を表します。

メソッド

固有のメソッドはありません。親である HTMLElement から継承したメソッドがあります。

仕様書

Specification
HTML
# htmlmapelement

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
HTMLMapElement
areas
name

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

関連情報

  • このインターフェイスを実装している HTML 要素: <map>