File tree 1 file changed +61
-0
lines changed
1 file changed +61
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < meta charset ="UTF-8 ">
5
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6
+ < title > My Simple Website</ title >
7
+ < style >
8
+ body {
9
+ font-family : Arial, sans-serif;
10
+ margin : 0 ;
11
+ padding : 0 ;
12
+ text-align : center;
13
+ }
14
+ header {
15
+ background-color : # 007bff ;
16
+ color : white;
17
+ padding : 15px ;
18
+ font-size : 24px ;
19
+ }
20
+ nav {
21
+ background-color : # 0056b3 ;
22
+ padding : 10px ;
23
+ }
24
+ nav a {
25
+ color : white;
26
+ text-decoration : none;
27
+ margin : 15px ;
28
+ font-size : 18px ;
29
+ }
30
+ section {
31
+ padding : 20px ;
32
+ }
33
+ footer {
34
+ background-color : # 333 ;
35
+ color : white;
36
+ padding : 10px ;
37
+ position : fixed;
38
+ bottom : 0 ;
39
+ width : 100% ;
40
+ }
41
+ </ style >
42
+ </ head >
43
+ < body >
44
+
45
+ < header > Welcome to My Website</ header >
46
+
47
+ < nav >
48
+ < a href ="# "> Home</ a >
49
+ < a href ="# "> About</ a >
50
+ < a href ="# "> Contact</ a >
51
+ </ nav >
52
+
53
+ < section >
54
+ < h2 > About This Site</ h2 >
55
+ < p > This is a simple website created with HTML and CSS.</ p >
56
+ </ section >
57
+
58
+ < footer > © 2025 My Website. All rights reserved.</ footer >
59
+
60
+ </ body >
61
+ </ html >
You can’t perform that action at this time.
0 commit comments