-
Notifications
You must be signed in to change notification settings - Fork 0
/
firstform.html
41 lines (40 loc) · 1.32 KB
/
firstform.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Form</title>
</head>
<body>
<h1>Register</h1>
<form action="http://www.facebook.com" method="GET">
<div>
<label for = "fn">First Name</label>
<input id = "fn" type = "text" placeholder="First Name" required>
<label for = "ln">Last Name</label>
<input id = "ln" type = "text" placeholder="Last Name">
</div>
<div>
<label for = "male">Male</label>
<input id = "male" type = "radio" name="gender">
<label for = "female">Female</label>
<input id = "female" type = "radio" name="gender">
<label for = "other">other</label>
<input id = "other" type = "radio" name="gender">
</div>
<div>
<label for = "mail">E-mail:</label>
<input id = "mail" type = "email" placeholder="E-mail" required>
<label for = "pass">Password:</label>
<input id = "pass" type = "password" placeholder="Password" pattern=".{5,10}" required title="Please enter between 5 to 10 chacters">
</div>
<div>
<label for="DOB">Birthday:</label>
<input type="date" id="DOB">
</div>
<div>
<p>I agree to the information above </p>
<input type="checkbox">
</div>
<input type="submit">
</form>
</body>
</html>