MAP
解説
クリッカブルマップの領域を設定する。イメージ全体をMAPタグで定義し、AREAタグでリンク先とリンク領域を指定する。指定した領域が重なる場合は、先に指定した領域が優先される。中身がブロック要素の場合は更にその中身にA
がある必要がある。
参照
属性
- name:
- クライアントサイドイメージマップに名前を指定
- %STYLEs%:
- 各種スタイルシートの設定
- %LANGs%:
- 言語情報や書字方向などを指定
- %EVENTs%:
- 各種イベントを指定
使用例
ソース
<img border="0" src="../img/area.gif" usemap="#area" width="212" height="106">
<map name="area">
<area href="shikaku.html" shape="rect" alt="四角形" coords="10,10,60,50,">
<area href="maru.html" shape="circle" alt="円形" coords="81,68,32">
<area href="takakukei.html" shape="poly" alt="多角形" coords="127,17,143,101,189,46">
</map>
表示結果