写一个前端报错页面的源码html
时间: 2023-11-02 16:05:35 浏览: 105
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Page Not Found</title>
<style>
body {
font-family: Arial, sans-serif;
color: #333;
background-color: #f4f4f4;
text-align: center;
padding-top: 50px;
}
h1 {
font-size: 36px;
margin-bottom: 20px;
}
p {
font-size: 18px;
margin-bottom: 20px;
}
a {
color: #007bff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<h1>404 - Page Not Found</h1>
<p>We're sorry, but the page you requested could not be found.</p>
<p>Please check the URL for proper spelling and capitalization. If you're having trouble finding what you're looking for, try using the search bar above.</p>
<a href="/">Return to Home Page</a>
</body>
</html>
阅读全文