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>您的访问出错了(404错误)</title> <meta http-equiv="refresh" content="12;URL=https://www.baidu.com/"> <style type="text/css"> *{margin:0;padding:0;} body{text-align:center} .form_00{width:500px;margin-top:100px;padding:0px 0px;text-align:left;overflow:hidden;} .form_01{float:left;width:80px;margin-top:12px;color:#000;font-weight:bold;font-size:15px;} .form{float:left;width:350px;position:relative;margin:0 auto;padding:5px 0 0 0px;} .s_input{border:1px solid #619FCF;width:250px;height:22px;padding:4px 0 0 2px;font-size:16px;margin-right:7px;} .s_button{width:5em;height:2em;cursor:pointer;font-size:14px;line-height:1.7em;margin-right:5px;} .juzhong{width:500px;height:300;margin-top:10px;padding:0px 0px;text-align:center;overflow:hidden;} .juzhong_01{width:500px;height:250;margin-top:50px;text-align:left;float:left;margin-left:0px;overflow:hidden;} .juzhong_01 a{text-decoration:none;color:#f60;} .juzhong_01 a:hover{text-decoration:underline;color:#0000FF;} .tofu_01{padding:10px 0px; color:#0000FF; font-weight:bold; font-size:25px} .tofu_02{width:405px;padding:5px 0px; color:#000; font-weight:bold; font-size:15px; margin-top:10px;} .tofu_03{vertical-align:baseline;} .juzhong_02 a{font-size:9px;text-decoration:none;color:#fff;} .juzhong_02 a:hover{text-decoration:underline;color:#fff;} </style> </head> <body> <center> <div class="juzhong"> <div class="juzhong_01"> <p class="tofu_01">很抱歉,您要访问的页面不存在。</p> <p class="tofu_02">1、请检查您输入的地址是否正确。</p> <p class="tofu_02">2、通过 <a href="https://www.baidu.com/">网站首页</a> 进行查找。</p> <p class="tofu_02">3、感谢您使用本站,两秒后自动跳转至网站首页--<meta http-equiv="refresh" content="12;URL=https://www.baidu.com/"></p> </div></div></center></body> </html>
==============
------------------------
-------------------------