W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
运行代码
<html> <head> <link rel="stylesheet" type="text/css" hreflang="us-en" id="style1" href="/example/hdom/try_dom_link.css" /> </head> <body> <script type="text/javascript"> x=document.getElementById("style1"); document.write("Language code=" + x.hreflang); </script> </body> </html>