fmpq.com
源代码:
点击运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Fmpq教程(fmpq.com)</title> </head> <body> <img id="planets" src="planets.gif" width="145" height="126" usemap="#planetmap"> <map name="planetmap"> <area id="venus" shape="circle" coords="124,58,8" alt="The planet Venus" href="venus.htm"> </map> <p>usemap属性的值: <script> document.write(document.getElementById("planets").useMap); </script> </p> </body> </html>
运行结果