<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script type="text/javascript">
function showinfo() {
alert('终于轮到我了');
}
function funsettimeout() {
//多少毫秒之后再执行指定的函数
setTimeout(showinfo,4000);
}
function funsettInterval() {
//每隔多少毫秒执行一次指定的函数
setInterval(showinfo, 2000);
}
function back() {
window.history.go(-1);
}
</script>
</head>
<body οnlοad="window.defaultStatus='欢迎访问XXX网站'">
<input id="Button1" type="button" value="后退" οnclick="back();" /><br />
<input id="Button2" type="button" value="setTimeout" οnclick="funsettimeout();" />
<input id="Button3" type="button" value="setInterval" οnclick="funsettInterval();" />
<a href="http://www.baidu.com" οnmοusemοve="window.status='跳转到百度'">跳转到百度</a>
<img src="images/1.JPG" />
</body>
</html>