![图片[1]-网页跳转代码几个常用的网页跳转图片跳转自动跳转页面代码分享-轻刻年轮](https://www.ly522.com/wp-content/uploads/2018/11/2368.png?x-oss-process=image/quality,q_50/resize,m_fill,w_800,h_444)
域名页面显示几秒钟之后跳转
可以在html代码的部分加上这样的域名跳转代码:
<meta http-equiv="refresh" content="3; url=http://将这里改成要跳转的域名";>
不隐藏域名跳转之后的地址
<html> <body> <meta http-equiv="refresh" content="0.1;url=将这里改成要跳转的域名"> </body> </html>
可隐藏域名跳转之后的地址:
<html> <frameset framespacing="0" border="0" rows="0" frameborder="0"> <frame name="main" src="将这里改成要跳转的域名" scrolling="auto" noresize> </frameset> </html>
定时的域名跳转代码
<meta http-equiv="refresh" content="3;rul=http://将这里改成要跳转的域名";>
此代码可以让网页在一定的时间内,跳转到另外一个网页上,其中content=” 为跳转前停暂的秒数,rul= 为跳转的域名
域名要在客户端跳转,可以这样:
<script language="javascript" type="text/javascript">window.location="http://将这里改成要跳转的域名";;</script>
域名在服务器端跳转
Response.Redirect(http://将这里改成要跳转的域名)Response.End
图片跳转代码
<a href="将这里改成要跳转的域名" target="_blank"><img src="图片跳转" style="width:100%"></a>
此文章一直更新,可关注
© 版权声明
THE END















![表情[qiang]-轻刻年轮](https://www.ly522.com/wp-content/themes/zibll/img/smilies/qiang.gif)
666
- 最新
- 最热
只看作者