js书写html <script type = "text/javascript"> document.write("<h1>javascriipt简写为js</h1>"); </script> 结果:javascript简写为js