创建一个变量

  1. <html>
  2. <body>
  3.  
  4. <script type="text/vbscript">
  5. dim name
  6. name="John Adams"
  7. document.write(name)
  8. </script>
  9.  
  10. </body>
  11. </html>