-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.html
39 lines (34 loc) · 1.16 KB
/
example.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html>
<head>
<title>My Beautiful Website</title>
<style>
/* Add your CSS styling here */
body { font-family: Arial, sans-serif; margin: 0; padding: 0; }
.header { background-color: #4CAF50; color: white; text-align: center; padding: 1em; }
.nav { background-color: #333; overflow: hidden; }
.nav a { float: left; display: block; color: white; text-align: center; padding: 14px 16px; text-decoration: none; }
.nav a:hover { background-color: #ddd; color: black; }
.content { padding: 20px; }
.footer { background-color: #f1f1f1; text-align: center; padding: 10px; }
</style>
</head>
<body>
<div class="header">
<h1>Welcome to My Website</h1>
</div>
<div class="nav">
<a href="#home">Home</a>
<a href="#news">News</a>
<a href="#contact">Contact</a>
<a href="#about">About</a>
</div>
<div class="content">
<h2>Main Content</h2>
<p>This is the main area of your website. You can add your own content here.</p>
</div>
<div class="footer">
<p>Footer content goes here.</p>
</div>
</body>
</html>