-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (37 loc) · 1.19 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
<!DOCTYPE html>
<html>
<head>
<title>Registration form | CAMBRIDGE</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<form action="#0">
<div>
<input type="text" name="firstname" id="firstname" placeholder=" " required>
<label for="firstname">First Name</label>
</div>
<div>
<input type="text" name="lastname" id="lastname" placeholder=" " required>
<label for="lastname">Last Name</label>
</div>
<div>
<input type="tel" name="tel" id="tel" placeholder=" "
pattern="^(\s*)?(\+)?([- _():=+]?\d[- _():=+]?){10,14}(\s*)?$" required>
<label for="tel">Phone No.</label>
<div class="requirements"> Must be a valid Phone Number!</div>
</div>
<div>
<input type="email" name="email" id="email" placeholder=" " required>
<label for="email">Email</label>
<div class="requirements"> Must be a valid Email addres!</div>
</div>
<div>
<input type="password" name="password" id="password" placeholder=" "
pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,}" required>
<label for="password">Password</label>
<div class="requirements"> Password Must Contains One Uppercase Letter and Number!</div>
</div>
<input type="submit" value="Sign up"/>
</form>
</body>
</html>