x
1
2
<html>
3
<head>
4
<meta charset="utf-8">
5
<title>蜜蜂教程(mifengjc.com)</title>
6
<script>
7
function myFunction() {
8
alert("页面加载完成");
9
}
10
</script>
11
</head>
12
13
<body onload="myFunction()">
14
<h1>Hello World!</h1>
15
</body>
16
17
</html>