Welcome to My Website
Contact Form
<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”UTF-8″>
<title>Simple Contact Form</title>
<style>
body {
font-family: Arial, sans-serif;
background: #f4f4f4;
}
.form-container {
width: 300px;
margin: 50px auto;
padding: 20px;
background: #fff;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
input, select, textarea, button {
width: 100%;
margin-top: 10px;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
}
button {
background-color: #28a745;
color: white;
border: none;
cursor: pointer;
}
button:hover {
background-color: #218838;
}
</style>
</head>
<body>
<div class=”form-container”>
<h2>Contact Form</h2>
<form action=”#” method=”post”>
<label for=”name”>Name:</label>
<input type=”text” id=”name” name=”name” required>
<label for=”phone”>Phone Number:</label>
<input type=”tel” id=”phone” name=”phone” required>
<label for=”country”>Country:</label>
<select id=”country” name=”country” required>
<option value=””>Select Country</option>
<option value=”Japan”>Japan</option>
<option value=”USA”>USA</option>
<option value=”India”>India</option>
<option value=”UK”>UK</option>
<option value=”Other”>Other</option>
</select>
<label for=”enquiry”>Enquiry:</label>
<textarea id=”enquiry” name=”enquiry” rows=”4″ required></textarea>
<button type=”submit”>Submit</button>
</form>
</div>
</body>
</html>
