-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrohan.html
More file actions
98 lines (93 loc) · 2.39 KB
/
rohan.html
File metadata and controls
98 lines (93 loc) · 2.39 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
<!DOCTYPE html>
<html>
<meta charset="UTF-8">
<head>
<title>Form</title>
<style>
input[type=text], input[type=password],select {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
}
button {
background-color: #a4a1a1;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
}
.cancelbtn {
padding: 14px 20px;
background-color: #a4a1a1;
}
.cancelbtn,.signupbtn {
float: left;
width: 50%s
}
.clearfix::after {
content: "";
clear: both;
display: table;
}
@media screen and (max-width: 300px) {
.cancelbtn, .signupbtn {
width: 100%;
}
}
.container {
padding: 20px;
width:500px;
background:#fff;
}
form{
border: 2px solid #ccc;
width: 540px;
margin: 10px 400px;
}
img{
/*margin-left: 160px;*/
}
body{
background-image:url("Chess1.jpg");
}
</style>
</head>
<body>
<h1 style="text-align: center">Register for Master Chessy</h1><br /><br/>
<form method="post" action="">
<div class="container">
<img src="signupbox.jpg" style="width:500px">
<br /><br /><br />
<label><b>First Name</b></label>
<input type="text" name="firstname" placeholder="First Name" required><br /><br/>
<legend><b>Last Name</b></legend>
<input type="text" name="lastname" placeholder="Last Name" required><br /><br />
<legend for="country"><b>Country</b></legend>
<select id="country" name="country">
<option value="India">India</option>
<option value="canada">Canada</option>
<option value="usa">USA</option>
<option value="australia">Australia</option>
</select><br /><br />
<legend><b>Contact-Info</b></legend>
<input type="text" name="contact-info" placeholder="Conatct-Info" required><br /><br />
<legend><b>Username</b></legend>
<input type="text" name="username" placeholder="Enter username" required><br /><br />
<legend><b>Password</b></legend>
<input type="password" name="psw" placeholder="Enter password" required><br /><br />
<legend><b>Repeat Password</b></legend>
<p><input type="checkbox">
By creating an account you agree to our <a href="#">Terms & Privacy</a>.</p><br /><br />
<div class="clearfix">
<button type="submit" class="signupbtn">Sign Up</button>
<button type="button" class="cancelbtn">Cancel</button>
</div>
</div>
</form>
</body>
</html>