-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
92 lines (80 loc) · 1.82 KB
/
index.html
File metadata and controls
92 lines (80 loc) · 1.82 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My Personal Site</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background: linear-gradient(to bottom right, #0f2027, #203a43, #2c5364);
color: #f0f0f0;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
}
header, footer {
width: 100%;
text-align: center;
padding: 20px;
background: rgba(0, 0, 0, 0.4);
}
nav a {
color: #00d4ff;
margin: 0 10px;
text-decoration: none;
font-weight: bold;
}
nav a:hover {
color: #ffffff;
}
main {
padding: 40px 20px;
text-align: center;
flex: 1;
}
section {
background: rgba(255, 255, 255, 0.05);
padding: 30px;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0,0,0,0.3);
max-width: 600px;
margin: auto;
}
img {
margin-top: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(255,255,255,0.2);
}
footer {
font-size: 14px;
color: #bbb;
}
</style>
</head>
<body>
<header>
<h1>Welcome to My Website</h1>
<nav>
<a href="index.html">Home</a> |
<a href="about.html">About Me</a> |
<a href="contact.html">Contact</a>
</nav>
</header>
<main>
<section>
<h2>Hello!</h2>
<p>My name is Yahya TAZI. I'm learning HTML and building my first site!</p>
<img src="IMG_20230823_195216.jpg" alt="My photo" width="200">
</section>
</main>
<footer>
<p>© 2025 My Personal Website</p>
</footer>
</body>
</html>