-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtask7CSS.html
More file actions
148 lines (127 loc) · 4.09 KB
/
task7CSS.html
File metadata and controls
148 lines (127 loc) · 4.09 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Task7CSS</title>
</head>
<style>
body {
background-color: rgba(161, 43, 84, 255);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
caption {
margin-bottom: 10px;
font-size: large;
}
table {
border-collapse: collapse;
width: 50vw;
height: 70vh;
border: none;
}
.maindiv {
border: 1px solid;
background-color: rgba(117, 33, 63, 255);
text-align: center;
padding: 20px;
border: none;
}
tr,
td {
border: none;
color: #ffffff;
font-size: 20px;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
input[type="text"],
input[type="password"],
textarea,
select {
width: 90%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
margin-bottom: 10px;
font-size: 16px;
}
button[type="submit"] {
width: 100%;
padding: 10px;
background-color: #ffffffac;
color: #000000;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 18px;
transition: background-color 0.3s;
}
button:hover {
background-color: rgb(62, 211, 77);
}
.gender-options {
display: flex;
margin-left: 5%;
}
</style>
<body>
<form>
<div class="maindiv">
<table border="1px">
<br>
<tr>
<td align="center"><label for="fn">Name:</label></td>
<td><input style="border: none;" type="text" required></td>
</tr>
<tr>
<td align="center"><label for="fn">Email:</label></td>
<td><input style="border: none;" type="text" required></td>
</tr>
<tr>
<td align="center"><label for="fn">Password:</label></td>
<td><input style="border: none;" type="password" required></td>
</tr>
<tr>
<td align="center"><label for="fn">Phone number:</label></td>
<td><input style="border: none;" type="text" required></td>
</tr>
<tr>
<td align="center"><label for="Gender">Gender:</label></td>
<td class="gender-options" style="text-align: left;">Male:<input type="radio" name="Gender">
Female:<input type="radio" name="Gender">
Other:<input type="radio" name="Gender">
</td>
</tr>
<tr>
<td align="center"><label>Language</label></td>
<td>
<select>
<option>Select language</option>
<option value="English">English</option>
<option value="Hindi">Hindi</option>
<option value="Telugu">Telugu</option>
<option value="kannada">Kannada</option>
<option value="Tamil">Tamil</option>
<option value="Urdu">Urudu</option>
</select>
</td>
</tr>
<tr>
<td align="center"><label for="fn">Zip Code:</label></td>
<td><input style="border: none;" type="text" required></td>
</tr>
<tr>
<td align="center"><label for="fn">About</label></td>
<td><textarea style="border: none;"></textarea></td>
</tr>
</table>
<br>
<button type="submit">Register</button>
</div>
</form>
</body>
</html>