書式
<map name="マップ名">〜</map>
属性
属性名 |
初期値 |
内 容 |
id |
なし |
IDを指定します。 |
class |
なし |
スタイルシートクラスを指定します。 |
style |
なし |
スタイルシートを指定します。 |
name |
なし |
マップの名前を指定します。 |
説明
クリッカブルマップのマップ領域(
形状と座標)を指定します。
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=shift_jis">
<title>Sample</title>
</head>
<body>
<h1>Sample</h1>
<img src="photo.jpg" usemap="#test">
<map name="test">
<area href="http://www.openspc2.org/" shape="rect" coords="0,0,160,60">
<area href="../index.html" shape="rect" coords="0,61,160,120">
</map>
</body>
</html>