Edit The Code:
See Result »
Try it Yourself - ©
w3big.com
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>本教程(w3big.com)</title> </head> <body> <p><a id="w3c" type="text/html" href="http://www.w3cschool.cc">W3Cschool</a></p> <script> document.write("返回链接的type属性值:"); document.write(document.getElementById("w3c").type); </script> </body> </html>