html页面跳转

 转自 : http://blog.csai.cn/user1/15388/archives/2007/14983.html
1,refresh
3秒跳转,html语法
<html><body>
<p>wait 1s</p>
<meta http-equiv="refresh" content="3;url=http://www.baidu.com">
</body></html>
2,onLoad
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>欢迎访问</title>
</head>
<body onLoad="parent.location='http://www.baidu.com'">
</body>
3,javascript
<script language="JAVASCRIPT">
setTimeout("document.location.href="/index.asp'",0);
</script>
放在<body></body>之间就可以了!!
展开阅读全文

没有更多推荐了,返回首页