Web Lab PGM 4
Web Lab PGM 4
Web Lab PGM 4
h1 {
color: darkblue;
text-align: center;
}
form {
background-color: #fff;
border-radius: 10px;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
max-width: 700px;
margin: auto;
}
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
}
table td {
padding: 10px;
}
.highlight {
background-color: #d3f0d1;
}
input[type="submit"]:hover, input[type="reset"]:hover {
background-color: blue;
}
td {
vertical-align: top;
}
HTML file:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>University Student Registration</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<table>
<tr>
<td><input type="submit" value="Submit"></td>
<td><input type="reset" value="Reset"></td>
</tr>
</table>
</form>
</body>
</html>
Sample Output: