Ye code Notepad pe type krke apni VU student id .html likh ke save krein
<!DOCTYPE html>
<html>
<head>
<title>bc2012345678 </title>
<style>
body {
background-color: #f2f2f2;
font-family: Arial, sans-serif;
}
.container {
max-width: 500px;
margin: 0 auto;
padding: 20px;
background-color: #ffffff;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
}
label {
display: block;
margin-bottom: 5px;
}
input[type="text"],
input[type="number"],
input[type="date"],
select {
width: 100%;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
margin-bottom: 10px;
}
input[type="radio"] {
margin-right: 5px;
}
.form-group {
margin-bottom: 15px;
}
.form-group:after {
content: "";
display: table;
clear: both;
}
.form-group label {
float: left;
width: 25%;
text-align: right;
margin-right: 5%;
}
.form-group input,
.form-group select {
float: left;
width: 70%;
}
.button {
background-color: #4CAF50;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
float: right;
}
.button:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<div class="container">
<h1>Patient Registration Form</h1>
<form>
<div class="form-group">
<label for="name">Name:</label>
<input type="text" id="name" required>
</div>
<div class="form-group">
<label for="age">Age:</label>
<input type="number" id="age" required>
</div>
<div class="form-group">
<label for="dob">Date of Birth:</label>
<input type="date" id="dob" required>
</div>
<div class="form-group">
<label for="address">Address:</label>
<input type="text" id="address" required>
</div>
<div class="form-group">
<label for="bloodgroup">Blood Group:</label>
<select id="bloodgroup" required>
<option value="">Select</option>
<option value="A+">A+</option>
<option value="A-">A-</option>
<option value="B+">B+</option>
<option value="B-">B-</option>
<option value="AB+">AB+</option>
<option value="AB-">AB-</option>
<option value="O+">O+</option>
<option value="O-">O-</option>
</select>
</div>
<
0 Comments