-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform1.html
125 lines (103 loc) · 3.46 KB
/
form1.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
<!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>Registration Form</title>
<style>
* {
margin: 0;
padding: 0;
}
body {
background: url("https://png.pngtree.com/thumb_back/fw800/background/20201028/pngtree-abstract-digital-landscape-with-particles-dots-and-stars-on-horizon-wireframe-image_441356.jpg");
background-size: 200%;
background-position: -600px 0px;
}
div.main{
width:400px;
margin : 100px auto 0px auto;
}
div.register{
width:100%;
font-size:20px;
color: #fff;
}
label{
font-family:sans-serif;
font-size:18px;
font-style:italic;
}
input#name{
width:300px;
border: 1px solid;
outline: 0;
padding: 7px;
}
input#submit{
width:200px;
padding: 7px;
font-size:16px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-weight: 600;
background-color: orange;
}
</style>
</head>
<body>
<div class="main">
<div class="register">
<h2>Register Here</h2>
<form id="Register">
<label>First Name</label>
<br>
<input type="text" name="fname" id="name">
</br>
<label>Last Name</label>
<br>
<input type="text" name="lname" id="name">
</br>
<label>Email</label><br>
<input type="email" name="[email protected]" id="email">
</br>
<label>Mobile Number</label>
<br>
<input type="number" name="number" id="number">
</br>
<label>Age</label>
<br>
<input type="number" name="age" id="age">
</br>
<label>Gender</label>
<br>
<input type="radio" name="gender" id="male">
<label> Male</label>
<br>
<input type="radio" name="gender" id="female">
<label> Female</label></br>
<input type="radio" name="gender" id="none">
<label> None</label>
</br>
<br>
<label>Skills</label>
</br>
<br>
<input type="checkbox" name="languages" id="languages">
<label>C</label></br>
<br> <input type="checkbox" name="languages" id="languages">
<label>C++</label></br>
<br> <input type="checkbox" name="languages" id="languages">
<label>java</label></br>
<br> <input type="checkbox" name="languages" id="languages">
<label>C#</label></br>
<br> <input type="checkbox" name="languages" id="languages">
<label>kotlin</label></br>
<br>
<input type="submit" value="submit" id="submit">
</br>
</form>
</div>
</div>
</body>
</html>