-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.html
More file actions
103 lines (89 loc) · 2.2 KB
/
form.html
File metadata and controls
103 lines (89 loc) · 2.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>User Registration</title>
<style>
body {
margin: 0;
font-family: Arial, sans-serif;
background-color: #121212; /* Dark background */
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
background-color: #1e1e1e;
color: #d0ff4f; /* Yellow-green text */
padding: 30px;
border-radius: 10px;
width: 340px;
box-shadow: 0 0 15px rgba(208, 255, 79, 0.4);
}
h2 {
text-align: center;
margin-bottom: 25px;
color: #d0ff4f;
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
input,
select {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: none;
border-radius: 6px;
background-color: #2b2b2b;
color: #ffffff;
}
input::placeholder {
color: #aaa;
}
input:focus,
select:focus {
outline: none;
border: 2px solid #d0ff4f;
}
button {
width: 100%;
padding: 12px;
background-color: #d0ff4f;
color: #000;
font-size: 15px;
font-weight: bold;
border: none;
border-radius: 6px;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #c2f042;
}
</style>
</head>
<body>
<div class="container">
<h2>User Registration</h2>
<form>
<label for="fullname">Full Name:</label>
<input type="text" id="fullname" name="fullname" placeholder="Enter your name" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" value="enter email" required>
<label for="role">Role:</label>
<select id="role" name="role" required>
<option value="student">Student</option>
<option value="faculty">Faculty</option>
<option value="admin">Admin</option>
</select>
<label for="password">Password:</label>
<input type="password" id="password" name="password" placeholder="Enter your password" required>
<button type="submit">Register</button>
</form>
</div>
</body>
</html>