<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset = utf-8">
<title>HTML5</title>
<script type="text/javascript" charset = "utf-8">
<!--这个函数将在页面完全加载后调用-->
function pageLoaded()
{
alert('HTML5 页面加载完毕!');
}
</script>
</head>
<body onload="pageLoaded();">
</body>
</html>
温馨提示:答案为网友推荐,仅供参考