<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Get Certificate</title>
</head>
<body>
<header>
<nav>
<div class="navbar">
<ul class="nav-links">
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
</div>
</nav>
</header>
<div class="container">
<h2>Get Certificate</h2>
<form id="certificateForm">
<div class="form-group">
<label for="studentName">Student Name:</label>
<input type="text" id="studentName" name="studentName" required>
</div>
<div class="form-group">
<label for="rollNumber">Roll Number:</label>
<input type="text" id="rollNumber" name="rollNumber" required>
</div>
<button type="submit">Get Certificate</button>
</form>
</div>
</body>
</html>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-image: url('https://img.freepik.com/premium-photo/graduation-diploma-hand-isolated-white_392895-96287.jpg');
}
header {
background-color: #047dff;
color: #fff;
padding: 10px 0;
}
.container {
max-width: 400px;
margin: 0 auto;
padding: 20px;
background-color: aquamarine;
margin-top: 50px;
}
.navbar {
max-width: 400px;
margin: 0 auto;
padding: 20px;
}
.navbar a:hover{
background-color: red;
}
.nav-links {
list-style: none;
padding: 0;
margin: 0;
}
.nav-links li {
display: inline;
margin-right: 20px;
}
.nav-links li:last-child {
margin-right: 0;
}
.nav-links a {
color: #fff;
text-decoration: none;
}
.form-group {
margin-bottom: 15px;
}
label {
display: block;
margin-bottom: 5px;
}
input[type="text"] {
width: 100%;
padding: 8px;
border: 1px solid #ccc;
border-radius: 3px;
}
button {
background-color: #007bff;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 3px;
cursor: pointer;
}
button:hover {
background-color: #0056b3;
}
</style>