-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathview&applycopy.html
151 lines (130 loc) · 3.52 KB
/
view&applycopy.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
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
149
150
151
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Student Details</title>
<style>
/* Paste your CSS styles here */
body {
margin: 0;
font-family: Arial, sans-serif;
background-image: url('background.jpg');
background-size: cover;
background-position: center;
}
.container {
width: 80%;
margin: 0 auto;
padding: 1em;
}
header {
background-color: #007bff;
color: white;
}
nav ul {
list-style-type: none;
padding: 0;
display: flex;
justify-content: space-between;
}
nav ul li {
margin-right: 1em;
}
nav ul a {
color: white;
text-decoration: none;
}
nav ul ul {
display: none;
position: absolute;
background-color: #007bff;
}
nav ul li:hover > ul {
display: block;
}
main {
padding: 2em 0;
}
footer {
background-color: #007bff;
color: white;
text-align: center;
padding: 1em 0;
}
form {
background-color: #f9f9f9;
padding: 2em;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
label {
display: block;
margin-bottom: 0.5em;
font-weight: bold;
}
input[type="text"],
input[type="email"],
select {
width: 100%;
padding: 0.5em;
margin-bottom: 1em;
border-radius: 3px;
border: 1px solid #ccc;
}
input[type="submit"] {
background-color: #007bff;
color: white;
border: none;
padding: 0.5em 1em;
border-radius: 3px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<div class="container">
<header>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
</header>
<main>
<h1>Student Details</h1>
<form id="studentForm">
<label for="fullName">Full Name:</label>
<input type="text" id="fullName" name="fullName" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<label for="phone">Phone Number:</label>
<input type="text" id="phone" name="phone" required>
<label for="address">Address:</label>
<input type="text" id="address" name="address">
<label for="dob">Date of Birth:</label>
<input type="date" id="dob" name="dob">
<label for="major">Major:</label>
<input type="text" id="major" name="major">
<label for="preference">Company Preference:</label>
<select id="preference" name="preference" required>
<option value="">Select Company</option>
<option value="Company A">Company A</option>
<option value="Company B">Company B</option>
<option value="Company C">Company C</option>
<!-- Add more companies as needed -->
</select>
<input type="submit" value="Submit">
</form>
</main>
<footer>
<p>© 2024 Your Company. All rights reserved.</p>
</footer>
</div>
</body>
</html>