-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHTML5.html
More file actions
115 lines (113 loc) · 3.2 KB
/
HTML5.html
File metadata and controls
115 lines (113 loc) · 3.2 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
body {
display: block;
}
.tst2 h1 {
color: blue;
margin-left: 70px;
}
.tble td,
.tble th {
padding: 2px;
border: 2px solid black;
border-collapse: collapse;
}
.tble {
border-collapse: collapse;
border-spacing: 0;
}
</style>
</head>
<body>
<div class="tst2">
<h1 style="color: blue">Registration Form</h1>
<form method="post">
<table class="tble">
<tr>
<td>First name</td>
<td>
<input type="text" style="width: 98%" />
</td>
</tr>
<tr>
<td>Last name</td>
<td><input type="text" style="width: 98%" /></td>
</tr>
<tr>
<td>Password</td>
<td><input type="password" style="width: 98%" /></td>
</tr>
<tr></tr>
<tr>
<td>Re Enter Password</td>
<td><input type="password" style="width: 98%" /></td>
</tr>
<tr>
<td rowspan="2">Gender</td>
<td><input type="radio" name="gen" /> Male</td>
</tr>
<tr>
<td><input type="radio" name="gen" /> Female</td>
</tr>
<tr>
<td>Age</td>
<td><input type="text" style="width: 98%" /></td>
</tr>
<tr>
<td>Phone Number</td>
<td><input type="number" style="width: 98%" /></td>
</tr>
<tr>
<td>Address</td>
<td>
<textarea name="address" rows="3" style="width: 98%"></textarea>
</td>
</tr>
<tr>
<td>State</td>
<td><input type="text" style="width: 98%" /></td>
</tr>
<tr>
<td>Country</td>
<td>
<select>
<option>Choose a Country</option>
<option>India</option>
<option>US</option>
<option>UK</option>
<option>Dubai</option>
</select>
</td>
</tr>
<tr>
<td>Languages Known</td>
<td>
<input type="checkbox" />English <input type="checkbox" />Kannada
<input type="checkbox" />Hindi <input type="checkbox" />Telegu
</td>
</tr>
<tr>
<td colspan="2">
<input type="checkbox" />I Hearby declare all the given details
are true
</td>
</tr>
<tr>
<td colspan="2" style="text-align: right">
Login to <a href="">Ethnus</a> Website
</td>
</tr>
</table>
<div style="padding-left: 150px; padding-top: 20px">
<button type="submit" style="border-radius: 3px">Register</button>
</div>
</form>
</div>
</body>
</html>