HTML页面跳转
有3种方法可以实现html的页面跳转,1,refresh 2,onload事件中加入代码 3,js实现
1.
<html>
<body>
<meta http-equiv="refresh" content="0;url=http://88223100.cnblogs.com">
</body>
</html>
2.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>欢迎访问</title>
</head>
<body onLoad="parent.location='http://88223100.cnblogs.com'">
</body>
</html>
3.
<script language="JAVASCRIPT">
setTimeout("document.location.href="/index.asp'",0);
</script>
放在<body></body>之间就可以了!!
1.
<html>
<body>
<meta http-equiv="refresh" content="0;url=http://88223100.cnblogs.com">
</body>
</html>
2.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>欢迎访问</title>
</head>
<body onLoad="parent.location='http://88223100.cnblogs.com'">
</body>
</html>
3.
<script language="JAVASCRIPT">
setTimeout("document.location.href="/index.asp'",0);
</script>
放在<body></body>之间就可以了!!
本文来自博客园,作者:古道轻风,转载请注明原文链接:https://www.cnblogs.com/88223100/archive/2008/06/26/1230096.html