-
Notifications
You must be signed in to change notification settings - Fork 0
/
CSS-Task7.html
68 lines (67 loc) · 2.01 KB
/
CSS-Task7.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Task-7</title>
<style>
label{
display: inline-block;
width:120px;
color:white;
}
form{
margin: 20px 400px 20px 400px;
padding:20px;
background-color: rgb(120,36,60);
width:400px;
height:400px;
padding-left: 140px;
}
body{
background-color: rgba(162,43,85,255);
}
input[type=submit]{
height: 30px;
width:25em;
font-weight: bold;
background-color: white;
}
</style>
</head>
<body>
<form>
<label>Name:</label>
<input type="text" name="n" placeholder="your name"><br>
<br>
<label>Email:</label>
<input type="text" name="em" placeholder="your email"><br>
<br>
<label>Password:</label>
<input type="password" name="pwd"><br>
<br>
<label>Phone Number:</label>
<input type="text" name="phn"><br>
<br>
<label>Gender:</label>
<span style="color:white;">Male: <input type="radio" name="gen"> Female:<input type="radio" name="gen"> Other:<input type="radio" name="gen"></span><br>
<br>
<label>language</label>
<select name="lang">
<option selected>Select language</option>
<option>English</option>
<option>Telugu</option>
<option>Tamil</option>
<option>Hindi</option>
</select><br>
<br>
<label>Zip Code:</label>
<input type="text" name="zip"><br>
<br>
<label>About:</label>
<textarea placeholder="Write about yourself" rows="3" columns="30"></textarea><br>
<br>
<input type="submit" value="Register">
</form>
</body>
</html>