JavaScript 语句

  1. <html>
  2. <body>
  3.  
  4. <script type="text/javascript">
  5. document.write("<h1>这是标题</h1>");
  6. document.write("<p>这是段落。</p>");
  7. document.write("<p>这是另一个段落。</p>");
  8. </script>
  9.  
  10. </body>
  11. </html>