fmpq.com
源代码:
点击运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Fmpq教程(fmpq.com)</title> </head> <body> <a id="w3s" hreflang="en-us" href="http://www.fmpq.com/">W3Cschool</a><br> <script> document.write("返回链接的hreflang: "); document.write(document.getElementById('w3s').hreflang); document.write("<br><br>"); </script> <a id="google" href="http://www.google.com/">Google</a><br> <script> document.getElementById('google').hreflang="no"; document.write("设置链接的hreflang: "); document.write(document.getElementById('google').hreflang); </script> </body> </html>
运行结果