-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
72 lines (66 loc) · 2.36 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
<!DOCTYPE html>
<html lang="en">
<head>
<style>
body {
background-color: aqua;
}
</style>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Registration Form With Validation</title>
<link rel="stylesheet" href="style.css" />
<script src="script.js" defer></script>
</head>
<body>
<h1 align="center" class="head">WD101 - L-8</h1>
<div class="box">
<form class="form" id="form">
<h2 align="center">Registration Form</h2>
<table class="tableForm" cellspacing="25px">
<tr>
<td><label for="name">Name :</label></td>
<td>
<input class="input" type="text" name="name" id="name" placeholder="Full Name" required />
</td>
</tr>
<tr>
<td><label for="email">E-mail :</label></td>
<td>
<input class="input" type="email" name="email" id="email" placeholder="Email" required />
</td>
</tr>
<tr>
<td><label for="name">Password :</label></td>
<td>
<input class="input" type="password" name="password" id="password" placeholder="Password"
required />
</td>
</tr>
<tr>
<td><label for="dob">Date Of Birth :</label></td>
<td>
<input style="width: 220px" class="input" type="date" name="dob" id="dob" required />
</td>
</tr>
<tr>
<td colspan="2">
<input type="checkbox" name="agree" id="agree" />
<label for="checkbox">Accespt Terms & Conditions</label>
</td>
</tr>
<tr>
<td>
<button class="btn" type="submit">Submit</button>
</td>
</tr>
</table>
</form>
</div>
<div class="entry">
<h2 class="subHead">Entries</h2>
<div id="tableDiv"></div>
</div>
</body>
</html>