web开发中404页面如何自动跳转到首页-成都创新互联网站建设

关于创新互联

多方位宣传企业产品与服务 突出企业形象

公司简介 公司的服务 荣誉资质 新闻动态 联系我们

web开发中404页面如何自动跳转到首页

小编给大家分享一下web开发中404页面如何自动跳转到首页,希望大家阅读完这篇文章之后都有所收获,下面让我们一起去探讨吧!

成都创新互联公司成立与2013年,先为鸡西等服务建站,鸡西等地企业,进行企业商务咨询服务。为鸡西企业网站制作PC+手机+微官网三网同步一站式服务解决您的所有建站问题。

404页面如何自动跳转到首页?网站404页面是怎么制作的,代码如下。

!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



很抱歉,网站搬新家啦!


body {margin: 0px; padding:0px; font-family:"微软雅黑", Arial, "Trebuchet MS", Verdana, Georgia,Baskerville,Palatino,Times; font-size:16px;}
p{margin-left:auto; margin-right:auto;}
a {text-decoration: none; color: #1064A0;}
a:hover {color: #0078D2;}
img { border:none; }
h2,h3,h4,h5 {
/*display:block;*/
margin:0;
font-weight:normal; 
font-family: "微软雅黑", Arial, "Trebuchet MS", Helvetica, Verdana ; 
}
h2{font-size:44px; color:#0188DE; padding:20px 0px 10px 0px;}
h3{color:#0188DE; font-size:16px; padding:10px 0px 40px 0px;}

#page{width:910px; padding:20px 20px 40px 20px; margin-top:80px;}
.button{width:180px; height:28px; margin-left:0px; margin-top:10px; background:#009CFF; border-bottom:4px solid #0188DE; text-align:center;}
.button a{width:180px; height:28px; display:block; font-size:14px; color:#fff; }
.button a:hover{ background:#5BBFFF;}






网站搬新家啦,即将跳转新网址~

The website is moving to a new home. It is about to jump to the new website. 

若网页未能自动跳转新网址,请点击下面按钮进行跳转! 进入新网址

  

看完了这篇文章,相信你对“web开发中404页面如何自动跳转到首页”有了一定的了解,如果想了解更多相关知识,欢迎关注创新互联行业资讯频道,感谢各位的阅读!


分享题目:web开发中404页面如何自动跳转到首页
本文路径:http://kswsj.cn/article/gdhpgs.html

其他资讯