Untitled
unknown
plain_text
a year ago
2.0 kB
9
Indexable
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Employee Data Form</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease-in-out;
}
.container:hover {
transform: scale(1.02);
}
input {
width: 100%;
padding: 10px;
margin: 10px 0;
border: 1px solid #ccc;
border-radius: 5px;
}
button {
background-color: #28a745;
color: white;
padding: 10px 15px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s;
}
button:hover {
background-color: #218838;
}
</style>
</head>
<body>
<div class="container">
<h2>Employee Registration</h2>
<form action="save_data.php" method="POST">
<label for="emp_id">Employee ID:</label>
<input type="text" id="emp_id" name="emp_id" required>
<label for="emp_name">Employee Name:</label>
<input type="text" id="emp_name" name="emp_name" required>
<label for="emp_contact">Employee Contact:</label>
<input type="text" id="emp_contact" name="emp_contact" required>
<button type="submit">Submit</button>
</form>
</div>
</body>
</html>
Editor is loading...
Leave a Comment