编辑下面的代码:
【加编码】
查看效果 »
<html> <body> <p>Hello World!</p> <p>The DOM is very useful!</p> <script> x=document.getElementsByTagName("p"); document.write("The innerHTML of the second paragraph is: " + x[1].innerHTML); </script> </body></html>
结果:
【此窗口】
帮助?