当前位置:主页 > 查看内容

html 网页跳转代码

发布时间:2021-07-29 00:00| 位朋友查看

简介:将以下代码存为默认首页文件如index.html,放在根目录下即可。 不隐藏转向后地址 html head titleRedirect/title meta http-equiv=refresh content=0;url=new site /head body /body /html 隐藏转向后地址 html head titleRedirect/title /head frameset fram……
将以下代码存为默认首页文件如index.html,放在根目录下即可。
不隐藏转向后地址
<html>
<head>
<title>Redirect</title>
<meta http-equiv="refresh" content="0;url=new site">
</head>
<body>
</body>
</html>
隐藏转向后地址
<html>
<head>
<title>Redirect</title>
</head>
<frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="new site" scrolling="auto" noresize>
</frameset>
</html>

原文链接:https://m.jb51.net/web/10084.html
本站部分内容转载于网络,版权归原作者所有,转载之目的在于传播更多优秀技术内容,如有侵权请联系QQ/微信:153890879删除,谢谢!
上一篇:当td为空时怎样显示其边框 下一篇:没有了

推荐图文


随机推荐