HTML <オブジェクト> usemap属性
例
画像マップを使用した<object>要素:
<object data="planets.gif" width="145" height="126" usemap="#planetmap"></object>
定義と使用法
このusemap
属性は、オブジェクトで使用する画像マップの名前を指定します。
画像マップは、クリック可能な領域がある画像です。
属性は要素の属性にusemap
関連付けられており、オブジェクトとマップの間に関係を作成します。<map>
name
ブラウザのサポート
Attribute | |||||
---|---|---|---|---|---|
usemap | Not supported | Not supported | Yes | Not supported | Not supported |
構文
<object usemap="#mapname">
属性値
Value | Description |
---|---|
#mapname | A hash character ("#") plus the name of the map element to use |
❮HTML<object>タグ