Certainly! Below is a simple HTML template for a web page that includes the specified sections. This template uses HTML and a bit of CSS for styling. You can expand upon this with JavaScript for more interactivity if needed.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Customer Information</title>
<style>
body {
font-family: Arial, sans-serif;
}
.container {
max-width: 600px;
margin: 20px auto;
padding: 20px;
border: 1px solid #ccc;
border-radius: 10px;
}
h1 {
text-align: center;
}
.form-group {
margin-bottom: 15px;
}
.form-group label {
display: block;
margin-bottom: 5px;
}
.form-group select, .form-group input {
width: 100%;
padding: 8px;
box-sizing: border-box;
}
.form-group input[type="radio"] {
display: inline;
margin-right: 5px;
}
</style>
</head>
<body>
<div class="container">
<h1>Customer Information</h1>
<div class="form-group">
<label for="area">Area:</label>
<select id="area" name="area">
<option value="">Select Area</option>
<option value="area1">Area 1</option>
<option value="area2">Area 2</option>
<option value="area3">Area 3</option>
</select>
</div>
<div class="form-group">
<label for="customerName">Customer Name:</label>
<input type="text" id="customerName" name="customerName" placeholder="Enter Customer Name">
</div>
<div class="form-group">
<label for="stbNumber">STB Number:</label>
<input type="text" id="stbNumber" name="stbNumber" placeholder="Enter STB Number">
</div>
<div class="form-group">
<label for="mobileNumber">Mobile Number:</label>
<input type="text" id="mobileNumber" name="mobileNumber" placeholder="Enter Mobile Number">
</div>
<div class="form-group">
<label>Payment Status:</label><br>
<input type="radio" id="paid" name="paymentStatus" value="paid">
<label for="paid">Paid</label>
<input type="radio" id="due" name="paymentStatus" value="due">
<label for="due">Due</label>
</div>
</div>
</body>
</html>
Explanation:
- Area Dropdown: A
<select> element with options for different areas.
- Customer Name: A text input field for entering the customer's name.
- STB Number: A text input field for entering the STB (Set-Top Box) number.
- Mobile Number: A text input field for entering the customer's mobile number.
- Payment Status: Radio buttons to indicate whether the customer has paid or is due.
You can further enhance this with JavaScript to add validation, dynamic content loading, or submission handling.