<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF8">
<meta name="viewport" content="width=devicewidth, initialscale=1.0">
<title>Contact Form</title>
<style>
form {
width: 300px;
margin: 0 auto;
}
input, textarea {
width: 100%;
marginbottom: 10px;
}
button {
width: 100%;
backgroundcolor: #4CAF50;
color: white;
padding: 10px;
border: none;
cursor: pointer;
}
button:hover {
backgroundcolor: #45a049;
}
</style>
</head>
<body>
<form action="submit_form.php" method="post">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<label for="message">Message:</label>
<textarea id="message" name="message" rows="4" required></textarea>
<button type="submit">Submit</button>
</form>
</body>
</html>