-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain
More file actions
332 lines (270 loc) · 6.99 KB
/
Main
File metadata and controls
332 lines (270 loc) · 6.99 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
<!DOCTYPE html>
<html>
<head>
<title>My First Website</title>
</head>
<body>
<h1>Welcome to My Website</h1>
<p>My name is Abdu. I am learning web development.</p>
<img src="https://via.placeholder.com/150" alt="My photo" width="150">
<h2>Contact Me</h2>
<form>
<input type="text" placeholder="Your Name"><br><br>
<input type="email" placeholder="Your Email"><br><br>
<textarea placeholder="Your Message"></textarea><br><br>
<input type="submit" value="Send">
</form>
<h2>Contact Form</h2>
<form>
<label for="name">Name:</label><br>
<input type="text" id="name" name="name"><br><br>
<label for="email">Email:</label><br>
<input type="email" id="email" name="email"><br><br>
<label for="message">Message:</label><br>
<textarea id="message" name="message" rows="4" cols="30"></textarea><br><br>
<input type="submit" value="Send">
</form>
<h2>Registration Form</h2>
<form>
<!-- Name -->
<label for="name">Full Name:</label><br>
<input type="text" id="name" name="name" required><br><br>
<!-- Password -->
<label for="password">Password:</label><br>
<input type="password" id="password" name="password" required><br><br>
<!-- Gender (Radio Buttons) -->
<label>Gender:</label><br>
<input type="radio" id="male" name="gender" value="male">
<label for="male">Male</label><br>
<input type="radio" id="female" name="gender" value="female">
<label for="female">Female</label><br><br>
<!-- Interests (Checkboxes) -->
<label>Interests:</label><br>
<input type="checkbox" id="sports" name="interests" value="sports">
<label for="sports">Sports</label><br>
<input type="checkbox" id="music" name="interests" value="music">
<label for="music">Music</label><br><br>
<!-- File Upload -->
<label for="photo">Upload your photo:</label><br>
<input type="file" id="photo" name="photo"><br><br>
<!-- Submit Button -->
<input type="submit" value="Register">
</form>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Styled Web Page</title>
<style>
body {
background-color: #f0f8ff;
font-family: Arial, sans-serif;
padding: 20px;
}
h2 {
color: #333399;
text-align: center;
}
form {
background-color: #ffffff;
padding: 20px;
border-radius: 10px;
max-width: 400px;
margin: auto;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
input, textarea, label {
display: block;
width: 100%;
margin-bottom: 15px;
}
input[type="submit"] {
background-color: #4CAF50;
color: white;
border: none;
padding: 10px;
border-radius: 5px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<h2>Registration Form</h2>
<form>
<label for="name">Full Name:</label>
<input type="text" id="name" name="name" required>
<label for="password">Password:</label>
<input type="password" id="password" name="password" required>
<label>Gender:</label>
<input type="radio" id="male" name="gender" value="male"> Male
<input type="radio" id="female" name="gender" value="female"> Female
<label>Interests:</label>
<input type="checkbox" name="interests" value="sports"> Sports
<input type="checkbox" name="interests" value="music"> Music
<label for="photo">Upload your photo:</label>
<input type="file" id="photo" name="photo">
<input type="submit" value="Register">
</form>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>My Website - Home</title>
</head>
<body>
<h1>Welcome to My Website</h1>
<!-- Navigation Links -->
<nav>
<a href="index.html">Home</a> |
<a href="about.html">About</a> |
<a href="contact.html">Contact</a>
</nav>
<p>This is the homepage of my website.</p>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>About Me</title>
</head>
<body>
<h1>About Me</h1>
<!-- Navigation Links -->
<nav>
<a href="index.html">Home</a> |
<a href="about.html">About</a> |
<a href="contact.html">Contact</a>
</nav>
<p>This page tells you about me and my website.</p>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Contact</title>
</head>
<body>
<h1>Contact Me</h1>
<!-- Navigation Links -->
<nav>
<a href="index.html">Home</a> |
<a href="about.html">About</a> |
<a href="contact.html">Contact</a>
</nav>
<p>You can contact me through this page.</p>
</body>
</html>
<img src="/storage/emulated/0/Xender/image/8DtsbhGnoyVBnzDxjXbYUEQfNZP.jpg" alt="Description of image" width="300">
<h2>My Profile Picture</h2>
<img src="profile.jpg" alt="/storage/emulated/0/Xender/image/8DtsbhGnoyVBnzDxjXbYUEQfNZP.jpg" width="200">
<img src="mypic.jpg" alt="Me" width="200">
<h1>My Cool Website</h1>
<img src="logo.png" alt="Website Logo" width="150">
<p>Welcome to my website!</p>
<!-- Background with CSS -->
<style>
body {
background-image: url('background.jpg');
background-size: cover;
background-repeat: no-repeat;
}
</style>
<!DOCTYPE html>
<html>
<head>
<title>My Homepage</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
header {
background-color: #333;
color: white;
padding: 15px 20px;
display: flex;
align-items: center;
justify-content: space-between;
}
header img {
height: 40px;
}
nav a {
color: white;
text-decoration: none;
margin: 0 15px;
}
nav a:hover {
text-decoration: underline;
}
.banner {
background-image: url('banner.jpg');
background-size: cover;
background-position: center;
height: 200px;
display: flex;
justify-content: center;
align-items: center;
color: white;
font-size: 30px;
font-weight: bold;
}
section {
padding: 20px;
}
footer {
background-color: #333;
color: white;
text-align: center;
padding: 15px;
}
</style>
</head>
<body>
<!-- Header with Logo and Menu -->
<header>
<img src="logo.png" alt="Logo">
<nav>
<a href="index.html">Home</a>
<a href="about.html">About</a>
<a href="contact.html">Contact</a>
</nav>
</header>
<!-- Banner -->
<div class="banner">
Welcome to My Website,
BAGA GARA Fuula website kiiyyaa nagaan dhuftan
</div>
<!-- About Section -->
<section>
<h2>About Me</h2>
<p>This is a simple homepage created using HTML and CSS on a phone using Acode app.
namoonni Afaan oromoon fayyadmuu barbaadan carraa kuni keessani.</p>
</section>
<!-- Services Section -->
<section>
<h2>My Services</h2>
<ul>
<li>Web Design</li>
<li>App Development</li>
<li>Graphic Design</li>
</ul>
</section>
<!-- Contact Section -->
<section>
<h2>Contact Me</h2>
<p>Email: abdulgefar@gmail.com</p>
<p>Phone: +251953341632</p>
</section>
<!-- Footer -->
<footer>
© 2025 My Website. All rights reserved.
</footer>
</body>
</html>