-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTask4.html
78 lines (66 loc) · 1.93 KB
/
Task4.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
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
<!DOCTYPE html>
<html>
<head>
<style>
body {
font-family: Arial, sans-serif;
}
.form-container {
background-color: #f4f4f4;
padding: 20px;
width: 300px;
}
.input-field {
margin-bottom: 10px;
}
.input-label {
display: block;
margin-bottom: 5px;
}
.save-button {
background-color: green;
color: white;
padding: 10px 15px;
border: none;
}
</style>
</head>
<body>
<div class="form-container">
<h2>Task-4</h2>
<form action="/submit-form" method="post">
<div class="input-field">
<label class="input-label" for="full-name">Full Name:</label>
<input type="text" id="full-name" name="fullname">
</div>
<div class="input-field">
<label class="input-label" for="username">Username:</label>
<input type="text" id="username" name="username">
</div>
<div class="input-field">
<label class="input-label" for="password">Password:</label>
<input type="password" id="password" name="password">
</div>
<div class="input-field">
<label class="input-label" for="password">Re-Password:</label>
<input type="password" id="password" name="password">
</div>
<div class="input-field">
<label class="input-label" for="address">Address:</label>
<textarea id="address" name="address"></textarea>
</div>
<label for="age">Age:</label>
<input type="number" id=""age" name="age"><br><br>
<label for=”gender”>Gender:</label><br>
<select id="gender" name="gender">
<option value="">select...</option>
<option value="male">Male</option>
<option value="female">Female</option>
</select><br><br>
<!-- Additional fields like Age and Gender would follow a similar pattern -->
<!-- Submit Button -->
<button type="submit" class="save-button">Save</button>
</form>
</div>
</body>
</html>