找回密码
 加入
搜索

HTML页面跳转代码

[复制链接]
发表于 2006-7-15 02:38:15 | 显示全部楼层 |阅读模式
有3种方法可以实现html的页面跳转,1,refresh 2,onload事件中加入代码 3,js实现

1.
<html>
<body>
<meta http-equiv=”refresh” content=”0;url=http://88223100.cnblogs.com”>
</meta></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>之间就可以了

Archiver|手机版|小黑屋|乱弹琴|重庆网址之家|多来米发 |

GMT+8, 2026-10-13 09:59 PM

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表