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