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="func" rel="friend" href="http://www.functravel.com/">优惠航班</a></p> <script> document.write("当前文档和链接的文档之间的关系: "); document.write(document.getElementById("func").rel); </script> </body> </html>