给我写一个html404页面源码
<!DOCTYPE html>
<html>
<head>
<title>404 Page Not Found</title>
<style>
body {
margin: 0;
padding: 0;
background-color: #f1f1f1;
font-family: Arial, sans-serif;
}
.container {
width: 80%;
margin: 50px auto;
text-align: center;
}
h1 {
font-size: 5rem;
font-weight: bold;
margin-bottom: 20px;
color: #555;
}
p {
font-size: 1.5rem;
margin-bottom: 30px;
color: #777;
}
a {
color: #fff;
background-color: #555;
padding: 10px 20px;
border-radius: 5px;
text-decoration: none;
transition: all 0.3s ease-in-out;
}
a:hover {
background-color: #777;
}
</style>
</head>
<body>
<div class="container">
<h1>404</h1>
<p>Sorry, the page you requested could not be found.</p>
<a href="/">Go back to home</a>
</div>
</body>
</html
原文地址: https://www.cveoy.top/t/topic/cG8r 著作权归作者所有。请勿转载和采集!