-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforms.html
93 lines (74 loc) · 2.63 KB
/
forms.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
<!DOCTYPE html>
<html>
<head>
<title>forms</title>
</head>
<style>
body{
background-color: lightblue;
}
#form{
background-color: white;
padding: 20px;
width: 300px;
margin-left: auto;
margin-right: auto;
}
.input-label{
margin: 0px;
margin-top: 5px;
margin-bottom: 8px;
}
.input-item{
width: 100%;
}
#submit{
margin-top: 10px;
margin-bottom: 15px;
}
</style>
<body>
<h1 style="text-align: center;">SignUp</h1>
<form id="form" method="GET">
<div>
<p class="input-label"> Full Name </p>
<input class="input-item" type="text" name="Full Name" placeholder="Full-name" required>
</div>
<div>
<p class="input-label"> email </p>
<input class="input-item" type="email" name="email" autofocus>
</div>
<div>
<p class="input-label">Password </p>
<input class="input-item" type="password" name="Password" required>
</div>
<div>
<p class="input-label">confirm password </p>
<input class="input-item" type="password" name="confirm password">
</div>
<div>
<p class="input-label"> Gender </p>
<input type="radio" name="male" value="male" > male </input>
<input type="radio" name="female" value="female"> female </input>
<input type="radio" name="other" value="other"> other </input>
</div>
<div>
<p class="input-item" class="input-label" m> Security Question </p>
<select name="Security-Question">
<option value="First Pet Name">What was the name of your First Pet</option>
<option value="nick name" >Whart is youe nick name</option>
</select>
</div>
<div>
<textarea class="input-item" name="answer" rows="6" cols="30"></textarea>
</div>
<div>
<input id="submit" type="checkbox" name="term-conditiobn" value="accept">I agree to
the Term and Condition </input>
</div>
<div>
<input type="submit">
</div>
</form>
</body>
</html>