简单教程
提交运行
代码编辑器:
<img src="/static/i/html/planets.gif" width="145" height="126" usemap="#planetmap"> <map name="planetmap"> <area id="venus" shape="circle" coords="124,58,8" alt="Venus" href="/static/media/html/venus.html" target="_blank"> </map> <p>"金星"区域taget属性的值是: <script> document.write(document.getElementById("venus").target); </script> </p>
运行结果: