-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhtml_task4.html
More file actions
73 lines (62 loc) · 2.08 KB
/
html_task4.html
File metadata and controls
73 lines (62 loc) · 2.08 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Registration Form</title>
<style>
body {
font-family: Arial, sans-serif;
}
form {
width: 300px;
margin: 50px auto;
}
label {
display: inline-block;
width: 100px;
margin-bottom: 20px;
}
input, select {
width: 180px;
padding: 5px;
margin-bottom: 10px;
}
button {
padding: 8px 20px;
background-color: #4CAF50;
color: white;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s, transform 0.2s;
}
button:hover {
background-color: #45a049;
transform: scale(1.05);
}
</style>
</head>
<body>
<form>
<label for="fullName">Full Name:</label>
<input type="text" id="fullName" name="fullName" placeholder="Enter name"><br>
<label for="username">Username:</label>
<input type="text" id="username" name="username" placeholder="abc@123"><br>
<label for="password">Password:</label>
<input type="password" id="password" name="password" placeholder="********"><br>
<label for="repassword">Re Password:</label>
<input type="password" id="repassword" name="repassword" placeholder="********"><br>
<label for="address">Address:</label>
<input type="text" id="address" name="address" ><br>
<label for="age">Age:</label>
<input type="text" id="age" name="age" ><br>
<label for="gender">Gender:</label>
<select id="gender" name="gender">
<option value="male" selected>Male</option>
<option value="female">Female</option>
</select><br>
<button type="submit">Save</button>
</form>
</body>
</html>