-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
65 lines (57 loc) · 2.21 KB
/
form.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="form.css">
<script src="form.js" defer></script>
<title>Register</title>
</head>
<body>
<div class="searchbox">
<label for="">Enter your favorite cricket player:</label>
<input type="search" id="favCktPlayer" list="CktPlayers">
<datalist id="CktPlayers">
<option value="Sachin Tendulkar">
<option value="Brian Lara">
<option value="Jacques Kallis">
<option value="Ricky Ponting">
<option value="Rahul Dravid">
<option value="Shane Warne">
<option value="Rohit Sharma">
<option value="Donald Bradman">
<option value="Saurav Ganguly ">
<option value="AB diVilliers">
<option value="Mahendra Singh Dhoni">
<option value="Adam Gilchrist">
</datalist>
</div>
<div class="container">
<form action="" id="form" method="post">
<h1>Register</h1>
<div class="input-group ">
<label for="username">Username</label>
<input type="text" id="username" name="username">
<span class="error"></span>
</div>
<div class="input-group ">
<label for="email">Email</label>
<input type="text" id="email" name="email" >
<span class="error"> </span>
</div>
<div class="input-group">
<label for="password">Password</label>
<input type="password" id="password" name="password">
<span class="error"></span>
</div>
<div class="input-group">
<label for="cpassword">Confirm Password</label>
<input type="password" id="cpassword" name="cpassword">
<span class="error"></span>
</div>
<button type="submit">Register</button>
</form>
</div>
</body>
</html>