HTML
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<title>My Webpage</title>
</head>
<body>
<header>
<h1>My Webpage</h1>
</header>
<main>
<p>Welcome to my webpage!</p>
<p>This is some sample content for the main area of the page.</p>
</main>
<footer>
<p>Copyright © 2023</p>
</footer>
</body>
</html>
CSS
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
header {
background-color: #333;
color: #fff;
padding: 20px;
text-align: center;
}
header h1 {
margin: 0;
}
main {
padding: 20px;
}
footer {
background-color: #333;
color: #fff;
padding: 10px;
text-align: center;
position: absolute;
bottom: 0;
width: 100%;
}