- ·上一篇软件使用技巧:淘宝店铺推广妙招
- ·下一篇软件使用技巧:美萍手机销售管理软件_特价销售
404页面代码参考
404页面代码参考
以下提供404页面代码,只供参考:
例一:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>六安网站建设 - 六安seo</title>
<script>
<!--
setTimeout("location.href='http://www.027-8.com'",5000);
-->
</script>
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
-->
</style>
</head>
<body>
<table width="500" height="50%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle"><span class="STYLE1">对不起,找不到这个页面,系统将马上<a href="httP://www.zzypf.com">跳转</a>六安网站建设 - 六安seo!</span></td>
</tr>
</table>
</body>
</html>
例二:
<HTML><HEAD><TITLE>六安网站建设 - 六安seo</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<style type="text/css">
A{TEXT-DECORATION: none}
A:link {COLOR: #001111; FONT-FAMILY: 宋体; TEXT-DECORATION: none}
A:visited {COLOR: #001111; FONT-FAMILY: 宋体; TEXT-DECORATION: none}
A:active {FONT-FAMILY: 宋体; TEXT-DECORATION: none}
A:hover {BORDER-BOTTOM: 1px dotted; BORDER-LEFT-WIDTH: 1px; BORDER-RIGHT-WIDTH: 1px; BORDER-TOP-WIDTH: 1px; COLOR: #ff0000; FONT-SIZE: 12px;TEXT-DECORATION: none}
BODY {
FONT-SIZE: 12px;
COLOR: #001111;
FONT-FAMILY: 宋体;
background-color: #ffffff;
SCROLLBAR-FACE-COLOR: #e8e7e7;
SCROLLBAR-HIGHLIGHT-COLOR: #ffffff;
SCROLLBAR-SHADOW-COLOR: #ffffff;
SCROLLBAR-3DLIGHT-COLOR: #cccccc;
SCROLLBAR-ARROW-COLOR: #ff6600;
SCROLLBAR-TRACK-COLOR: #EFEFEF;
SCROLLBAR-DARKSHADOW-COLOR: #b2b2b2;
SCROLLBAR-BASE-COLOR: #000000
}
TABLE {BORDER-COLLAPSE: collapse; FONT-FAMILY: 宋体; FONT-SIZE: 9pt}
.button{height:18px;width:50px;background:#f6f6f9 url(image/ButtonBg.gif); border:solid 1px #5589AA;color: #000000 ;FONT-SIZE: 9pt}
.lanyu{border:solid 1px #5589AA;color: #000000 ; font-size: 12px;}
.font { filter: DropShadow(Color=#cccccc, OffX=2, OffY=1, Positive=2); text-decoration: none; font-size: 9pt}
</style>
</HEAD>
<body bgcolor=#ffffff leftmargin="0" topmargin="0">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="center" valign="middle">
<BODY topMargin=0>
<DIV align=center>
<CENTER>
<TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 height=400
cellSpacing=0 cellPadding=0 width=700 border=0>
<TBODY>
<TR>
<TD vAlign=middle width=700 height=400>
<P align=center>
<a href="http://www.zzypf.com"><font color=red>你所浏览的文件没有找到!</font></a></P></TD>
</TR>
</TBODY></TABLE></CENTER></DIV></BODY></HTML>
</td>
</tr>
</table>
</body>
</html>
方法三,复制后把红字改成你自已的.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>六安SEO_六安网站优化_六安网站制作_建设★专业seo网站团队★ </title>
<style type="text/css">
<!--
.STYLE1 {font-weight: bold}
.STYLE2 {font-weight: bold}
-->
</style>
</head>
<body>
<p class="STYLE1">很抱歉,您要访问的页面不存在。</p>
<h2 class="STYLE2">1、请检查您输入的地址是否正确。 </h2>
<p class="STYLE2">2、请点击:<a href="http://www.zzypf.com/">六安SEO</a>返回网站首页</p>
<p class="STYLE2">3、感谢您使用本站,如有疑问请联系我们 站长QQ:1007129503</p>
<p class="STYLE2">4、请记住本站,众诚网络空间</p>
<style type="text/css">
<!--
.STYLE1{
color:#0000FF;
font-weight:bold;
font-size:25px}
.STYLE2{font-size:15px; line-height:25px}
body{
margin-top:88px;
margin-left:455px}
-->
</style>
</body>
</html>