forked from tecky708/app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.html
149 lines (119 loc) · 2.99 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
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!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" />
<title>Sign up page</title>
<style>
*{
box-sizing:border-box;
}
body{
font-family: Verdana, Geneva, Tahoma, sans-serif;
margin: 15px 30px ;
padding: 8px;
}
.all{
background-color: #87a5ca3d;
padding: 20px 20px 20px 20px;
border: 7px solid #7a9aa074 ;
border-radius: 5px;
}
h1{
margin: 0%;
text-align: center;
}
h5{
margin: 2%;
text-align: center;
}
input[type = "text"],
input[type = "email"],
input[type = "password"],
input[type = "number"],
input[type = "date"],
textarea,select{
width: 100%;
padding: .5%;
border: 1px solid #87a5ca3d;
border-radius: 5px;
}
input[type="submit"]{
font-size: 20px;
margin: 0 auto;
background-color: rgba(63, 92, 209, 0.86);
color: rgb(255, 255, 255);
padding: 7px;
border: none;
border-radius: 5px;
width: 50%;
}
fieldset{
background-color: #fff;
border: #fff;
border-radius: 5px;
height: 75px;
}
hdr{
text-align: center ;
}
/* .submit{
font-size: 20px;
margin: 0 auto;
background-color: rgba(63, 92, 209, 0.86);
color: rgb(255, 255, 255);
padding: 7px;
border: none;
border-radius: 5px;
width: 50%;
} */
@media screen and ( min-width : 600px) and (max-width : 700px){
input[type="submit"]{
background-color: #07d0f4f9;
}
}
</style>
</head>
<body>
<div class="all">
<form action="" method="get">
<h1> Contact Information</h1>
<h5>Please Fill all the fields with appropriate Information</h5>
<p>
First Name:
<input
type="text"
required
name="firstname"
placeholder="First Name"
/>
</p>
<p>
Last Name:
<input type="text" required name="lastname" placeholder="Last Name" />
</p>
<p class="gndr">
<fieldset>
<legend>Gender</legend>
<p>
Male <input type="radio" name="gender" required />
Female<input type="radio" name="gender" id="" required/>
Trans<input type="radio" name="gender" id="" required/>
</p>
</fieldset>
</p>
<P class="addd">
Address: <textarea name="address" id="address" cols="100" rows="7" placeholder="Type your full address" required ></textarea>
</P>
<p>
Pincode : <input type="text" inputmode="numeric" pattern="[0-9]{6}" maxlength="6" name="Pincode"/>
</p>
<p>
Email Address : <input type="email" name ="email" id = "email" placeholder="[email protected]" required>
</p>
<div class="submit"><input type="submit"></div>
</form>
</div>
</body>
</html>