-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
95 lines (90 loc) · 2.45 KB
/
index.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html>
<head>
<title>Registration Form with User Entries</title>
</head>
<style>
.container {
width: 500px;
height: 300px;
border-radius: 7px;
background-color: rgb(126, 120, 112);
border: 1px solid firebrick;
font-family: calibri;
font-size: 120%;
font-weight: bolder;
box-shadow: 6px 6px 30px rgb(145, 135, 156);
}
#title {
background-color: rgb(2, 1, 1);
color: white;
border: 1px solid rgb(146, 87, 87);
padding-bottom: -1px;
height: 28px;
border-radius: 3px;
}
input#name,
input#email,
input#password,
input#dob {
height: 20px;
width: 100%;
}
#submit {
background-color: red;
border: 2px solid black;
height: 30px;
width: 100%;
color: white;
/* border: none; */
border-radius: 10px;
font-size: 105%;
margin-top: 10px;
cursor: pointer;
}
#name ,#email,#password,#dob{
border-radius: 7px;
}
</style>
<body bgcolor="#999">
<center>
<form id="user-form">
<fieldset class="container">
<legend id="title">Registration Form</legend>
<table cellspacing="5" cellpadding="5">
<tr>
<td><label for="name">Name </label></td>
<td><input type="text" id="name" name="nm" required /></td>
</tr>
<tr>
<td><label for="email">Email ID </label></td>
<td><input type="email" id="email" name="em" required /></td>
</tr>
<tr>
<td><label for="password">Password </label></td>
<td>
<input type="password" id="password" name="pass" required />
</td>
</tr>
<tr>
<td><label for="dob">Date Of Birth </label></td>
<td><input type="date" id="dob" name="DOB" required /></td>
</tr>
<tr>
<td align="right">
<input type="checkbox" id="acceptTerms" name="accept" />
</td>
<td><label for="acceptTerms">accept Terms & Conditions</label></td>
</tr>
<tr>
<td colspan="2" align="center">
<button type="submit" id="submit">Submit</button>
</td>
</tr>
</table>
</fieldset>
</form>
<h2>User Entries</h2>
<div id="user-entries"></div>
</center>
<script type="text/javascript" src="registration.js"></script>
</body>