0% found this document useful (0 votes)
2 views

basic_webpage_code

The document is an HTML template for a basic webpage featuring a header, main content area, and footer. It includes styling for a simple layout with a dark header and footer against a light background. The webpage welcomes visitors and indicates copyright for the year 2025.

Uploaded by

n.s.u.d.habibur
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

basic_webpage_code

The document is an HTML template for a basic webpage featuring a header, main content area, and footer. It includes styling for a simple layout with a dark header and footer against a light background. The webpage welcomes visitors and indicates copyright for the year 2025.

Uploaded by

n.s.u.d.habibur
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

<!

DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>My Basic Webpage</title>

<style>

body {

font-family: Arial, sans-serif;

background-color: #f0f0f0;

margin: 0;

padding: 0;

text-align: center;

header {

background-color: #333;

color: white;

padding: 1rem;

main {

padding: 2rem;

footer {

background-color: #333;

color: white;

padding: 1rem;

position: fixed;
width: 100%;

bottom: 0;

</style>

</head>

<body>

<header>

<h1>Welcome to My Webpage</h1>

</header>

<main>

<p>This is a simple webpage created with HTML and CSS.</p>

</main>

<footer>

<p>&copy; 2025 My Website</p>

</footer>

</body>

</html>

You might also like