W3xue
Tools
让人人享有平等学习机会
案例:
JavaScript案例
状态:可编辑再运行
进入竖版
运行结果
本设备
Galaxy S5
Nexus 5X
Nexus 6P
iPhone7
iPhone7 Plus
iPhone8
iPhone8 Plus
iPhoneX
iPad
iPad Pro
<html> <head> <script type="text/javascript"> function writeText(txt) { document.getElementById("desc").innerHTML=txt } </script> </head> <body> <img src="/img/eg_planets.jpg" border="0" usemap="#planetmap" alt="Planets" /> <map name="planetmap" id="planetmap"> <area shape="circle" coords="180,139,14" onMouseOver="writeText('直到 20 世纪 60 年代,金星一直被认为是地球的孪生姐妹,因为金星是离我们最近的行星,同时还由于两者拥有很多共同的特征。')" href ="/example/html/venus.html" target ="_blank" alt="Venus" /> <area shape="circle" coords="129,161,10" onMouseOver="writeText('从地球上是很难研究水星的,这是由于它和太阳的距离总是很近。')" href ="/example/html/mercur.html" target ="_blank" alt="Mercury" /> <area shape="rect" coords="0,0,110,260" onMouseOver="writeText('太阳和类似木星这样的气态行星是到目前为止太阳系中最大的物体。')" href ="/example/html/sun.html" target ="_blank" alt="Sun" /> </map> <p id="desc"></p> </body> </html>
W3xue 的所有内容仅供测试,对任何法律问题及风险不承担任何责任。通过使用本站内容随之而来的风险与本站无关。部分案例需要特定浏览器支持,如案例没有显示效果,请尝试更换浏览器。
意见反馈
友情链接:
直通硅谷
点职佳
北美留学生论坛