-
Notifications
You must be signed in to change notification settings - Fork 0
/
register.html
executable file
·72 lines (63 loc) · 2.83 KB
/
register.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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="register_styles.css">
</head>
<body id="main">
<div id="title">
<img src="logo.png" alt="LOGO" style="float:left;">
<h1> Kamla Nehru Girls' Hostel </h1>
</div>
<div id="sidenav" class="sidenav">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<a href="Hostel.html">Home</a>
<a href="#">About</a>
<a href="#">Your Profile</a>
<a href="#">Roommate Allotment</a>
<a href="#">Fee Submission</a>
<a href="#">Grievances</a>
<a href="#">Contact</a>
</div>
<br>
<div class="icon" onclick="openNav()"></div>
<div class="icon" onclick="openNav()"></div>
<div class="icon" onclick="openNav()"></div>
<form action="new 1.php" method="post" target="_blank">
<div class="form">
<p style="font-family: 'Arial'; font-size: 20px; font-weight: bold; color: black; font-variant: small-caps; text-decoration: none;"> Register: </p>
<label> Name: </label>                          
<input type="text" placeholder="Your Name...." required name="name" autofocus style="width: 150px; height: 20px; padding: 2px;"><br>
<label> Registration Number: </label>              
<input type="entry" placeholder="Your Reg. No....." name="reg" style="width: 150px; height: 20px; padding: 2px;"><br>
<label> Branch: </label>                       
<select style="width: 150px; height:20px;" >
<option>Biotechnology</option>
<option>Chemical Engineering</option>
<option>Civil Engineering</option>
<option>Computer Science and Engineering</option>
<option>Electrical Engineering</option>
<option>Electronics and Communication Engineering</option>
<option>Information Technology</option>
<option>Mechanical Engineering</option>
<option>Production and Industrial Engineering</option>
</select>
<br>
<label> Home Address: </label>                   
<textarea placeholder="Your Address..." name="add" style="width: 250px; height: 40px; padding: 2px;"></textarea><br>
<label> Contact No.: </label>                    
<input type="tel" placeholder="Your Cotact No....." name="con" style="width: 150px; height: 20px; padding: 2px;"><br><br>
<input type="submit" id="btn" value="Register" style="position: relative; left: 250px;">
</div>
</form>
<script>
function openNav() {
document.getElementById("sidenav").style.width = "250px";
document.getElementById("main").style.marginLeft = "250px";
}
function closeNav() {
document.getElementById("sidenav").style.width = "0";
document.getElementById("main").style.marginLeft = "0";
}
</script>
</body>
</html>