1.服务器端跳转:
Resonpse.Redirect(www.baidu.com);
2.客户端跳转,可以在javascript中这样写
<script language="javascript" type="text/javascript ">
window.location="http: //www.baidu.com";
</script >
如果你要让页面显示几秒钟之后自动跳转,可以在html代码的<head></head>部分加上这样的代码:
<meta http-equiv="refresh" content="3; url=http://www.baidu.com"/>
本文详细介绍了服务器端和客户端跳转的方法,并演示了如何让页面在指定时间后自动跳转到目标网址。
6051

被折叠的 条评论
为什么被折叠?



