编辑下面的代码:【加编码】
<html> <body> <p><a id="func" rel="friend" href="http://www.functravel.com/">Cheap Flights</a></p> <script> document.write("The relationship between the current document and the linked document: "); document.write(document.getElementById("func").rel); </script> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂