实例代码“Ctrl+/”提示“F11/ESC”全屏 返回 格式化 恢复 运行
x
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<script type="text/vbscript">
5
function myFunction()
6
alert("Hello World!")
7
end function
8
</script>
9
</head>
10
11
<body onload="myFunction()">
12
13
<p>We usually use the head section for functions (to be sure that the functions are loaded before they are called).</p>
14
15
</body>
16
</html>