生成普通文本和标签

  1. <html>
  2. <body>
  3.  
  4. <script type="text/javascript">
  5. document.write("<h1>Hello World!</h1>")
  6. </script>
  7.  
  8. </body>
  9. </html>