案例:javascript案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<html>
2
<body>
3
4
<img id="planets"
5
src="/img/eg_planets.jpg" 
6
usemap="#planetmap" />
7
8
<map name="planetmap">
9
<area shape="circle"
10
coords="180,139,14"
11
href ="/example/html/venus.html"
12
target ="_blank"
13
alt="Venus" />
14
</map>
15
16
<p>该图像是服务器端图像映射吗?
17
<script type="text/javascript">
18
x=document.getElementById('planets');
19
document.write(x.isMap);
20
</script>
21
</p>
22
23
</body>
24
</html>
25