编辑下面的代码:【加编码】
<html> <body> <p><a id="zqxt" type="text/html" href="/">自强学堂</a></p> <script> document.write("链接类型属性为: "); document.write(document.getElementById("zqxt").type); </script> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂