1、js跳转
在body标签中插入如下代码
<script language='javascript'>document.location = 'http://www.web1992.com'</script>2、html跳转
在head标签中插入以下代码
<meta http-equiv="refresh" content="0.1;url=http://www.web1992.com">content="0.1 为该页面在此时间后开始跳转,url=需要跳转的目标地址
3、asp跳转
<%
Response.Redirect("http://www.web1992.com")
Response.End
%>
本文介绍了三种实现网页跳转的方法:使用JavaScript、HTML元标签及ASP。JavaScript跳转通过修改文档位置实现;HTML元标签利用刷新属性指定时间后跳转至目标URL;ASP则通过服务器响应重定向。
3906





