ErrorDocument 404 /notfound.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="https://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Error 404</title>
<meta name="author" content="Jimbo" />
<meta name="copyright" content="Copyright Jimbo ©" />
<meta name="revisit-after" content="14 days" />
<meta name="distribution" content="Global" />
<meta name="rating" content="general" />
<meta name="description" content="Error 404 Page not found" />
<meta name="keywords" content="page, not, found, 404" />
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="css/404style.css" type="text/css" media="screen" />
</head>
<body>
<h1>Error 404 page not found.</h1>
<div class="pageContent container" id="main">
<p><a href="index.php">Home</a></p>
<h4>©Jimbo</h4>
</div>
<p>
<a href="https://validator.w3.org/check?uri=referer"><img
src="https://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a>
</p>
<div id="myDiv"><object type="application/x-shockwave-flash" style="width:0px; height:0px;" data="https://www.youtube.com/v/oQ2bf1Q2FAo?fs=1&autoplay=1"><param name="movie" value="https://www.youtube.com/v/oQ2bf1Q2FAo?fs=1&autoplay=1" /></object>
</div>
</body>
</html>
body {
font: 85%/0.9 arial, helvetica, sans-serif;
background: #99A989 url(../images/bg.gif) repeat 0 0;
line-height: 130%;
width: 100%;
min-width: 970px;
color: black;
}
h1 {
font-family:"Arial Narrow",Arial,Helvetica,sans-serif;
font-size:30px;
font-weight:normal;
letter-spacing:1px;
padding-left:2px;
text-transform:uppercase;
white-space:nowrap;
margin-top:4px;
color:#FF0000;
text-align:center;
}
h4 {
font-size:10px;
font-weight:bold;
font-family:"Trebuchet MS",Arial, Helvetica, sans-serif;
letter-spacing:1px;
text-align:center;
text-decoration:none;
}
p {
font-size:20px;
font-weight:bold;
font-family:"Trebuchet MS",Arial, Helvetica, sans-serif;
letter-spacing:1px;
text-align:center;
text-decoration:none;
}
#container {
width:100%;
height:100%;
text-align:center;
}
#content {
width:740px;
margin:0 auto;
text-align:left;
padding:20px;
}
#main{
width:800px;
margin:60px auto;
}
.container{
margin-top:20px;
background:#FFFFFF;
border:1px solid #****E0;
padding:15px;
-moz-border-radius:20px;
-khtml-border-radius: 20px;
-webkit-border-radius: 20px;
border-radius:20px;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="https://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>404 - Page Not Found</title>
</head>
<body>
<font size="8"><center>
<p> </p>
<p>ERROR 404</p>
</center></font>
<font size="6"><center>
<p>Page Not Found</p>
</center>
</font>
<center>
<p><font size="5">
<input name="button" type="submit" id="button" onclick="history.back()" value="Click To Go Back" />
</form>
</font></p>
<font size="2"><center>
<p>or</p>
<p>
<input type="button" value="Click For First Page" onClick="window.location='https://website main page' "></p>
</center></font>
</center></font>
</center>
</body>
</html>
Very simple but is effective.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="https://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>404 - Page Not Found</title>
<meta name="author" content="Jimbo" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<style type="text/css">
h1 {
font-size:50px;
text-align:center;
}
h2 {
font-size:30px;
text-align:center;
}
p {
text-align:center;
}
</style>
</head>
<body>
<h1>ERROR 404</h1>
<h2>Page Not Found</h2>
<p><button onclick="history.back()">Click To Go Back</button></p>
<p>or <br />
<button onclick="window.location='https://website main page'">Click For First Page</button></p>
</body>
</html>
Copyright © 2024, NextGenUpdate.
All Rights Reserved.