实例代码“Ctrl+/”提示“F11/ESC”全屏 返回 格式化 恢复 运行
x
 
1
<!DOCTYPE html>
2
<html>
3
<body>
4
5
<script type="text/vbscript">
6
Dim firstname
7
firstname="Hege"
8
document.write(firstname)
9
document.write("<br>")
10
firstname="Tove"
11
document.write(firstname)
12
</script>
13
14
<p>The script above declares a variable, assigns a value to it, and displays the value. Then, it changes the value, and displays the value again.</p>
15
16
</body>
17
</html>