First 3 Web Lab Set
First 3 Web Lab Set
<!DOCTYPE html>
<html>
<head>
<title>My College</title>
</head>
<h2>Departments</h2>
</ul>
</body>
</html>
<head>
<title>Class Timetable</title>
<style>
table {
width: 80%;
border-collapse: collapse;
th, td {
padding: 10px;
text-align: center;
th {
background-color: #4CAF50;
color: white;
td {
background-color: #f9f9f9;
caption {
font-size: 24px;
font-weight: bold;
margin-bottom: 10px;
</style>
</head>
<body>
<table>
<caption>Class Timetable</caption>
<tr>
<th>Day / Time</th>
<th>9:00 - 10:00</th>
<th>10:00 - 11:00</th>
<th>11:00 - 12:00</th>
<th>12:00 - 1:00</th>
<th>1:00 - 2:00</th>
<th>2:00 - 3:00</th>
<th>3:00 - 4:00</th>
</tr>
<tr>
<td>Monday</td>
<td>Math</td>
<td>Physics</td>
<td>English</td>
<td>Chemistry</td>
<td>Computer</td>
<td>Library</td>
</tr>
<tr>
<td>Tuesday</td>
<td>English</td>
<td>Math</td>
<td>Computer</td>
<td>Physics</td>
<td>Workshop</td>
<td>Games</td>
</tr>
<tr>
<td>Wednesday</td>
<td>Physics</td>
<td>Chemistry</td>
<td>Math</td>
<td>English</td>
<td>Lab</td>
<td>Lab</td>
</tr>
<tr>
<td>Thursday</td>
<td>Computer</td>
<td>Math</td>
<td>English</td>
<td>Physics</td>
<td>Chemistry</td>
<td>Workshop</td>
</tr>
<tr>
<td>Friday</td>
<td>Chemistry</td>
<td>English</td>
<td>Computer</td>
<td>Math</td>
<td>Library</td>
<td>Games</td>
</tr>
</table>
</body>
</html>
3 Write a HTML code to design student registration forms for your College
admissiom
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-color: #f2f2f2;
padding: 30px;
h2 {
text-align: center;
form {
background-color: white;
padding: 25px;
max-width: 600px;
margin: auto;
border-radius: 10px;
label {
display: block;
margin-top: 15px;
width: 100%;
padding: 8px;
margin-top: 5px;
border-radius: 5px;
.gender-options {
display: flex;
gap: 10px;
margin-top: 5px;
.form-buttons {
text-align: center;
margin-top: 20px;
.form-buttons input {
width: 120px;
margin: 0 10px;
background-color: #4CAF50;
color: white;
border: none;
padding: 10px;
cursor: pointer;
.form-buttons input:hover {
background-color: #45a049;
</style>
</head>
<body>
<label>Gender:</label>
<div class="gender-options">
</div>
<label for="address">Address:</label>
<label for="department">Department:</label>
<div class="form-buttons">
</div>
</form>
</body>
</html>