简单教程
提交运行
代码编辑器:
<!DOCTYPE html> <meta charset="utf-8"> <link href="/static/next/css/tryit.css?v=2017082407" rel="stylesheet"/> <img src ="planets.gif" width="145" height="126" alt="Planets" usemap ="#planetmap"> <map name="planetmap"> <area id="sun" shape="rect" coords="0,0,82,126" href="sun.htm" alt="Sun"> <area id="mercury" shape="circle" coords="90,58,3" href="mercur.htm" alt="Mercury"> <area id="venus" shape="circle" coords="124,58,8" href="venus.htm" alt="Venus"> </map> <p><a id="javascript" href="/yufei/javascript">JavaScript 教程</a></p> <p>第一个链接/地址的ID: <script> document.write(document.links[0].id); </script></p> <footer>简单教程,简单编程<br/>Copyright © 简单教程 www.twle.cn</footer>
运行结果: