Front
Example heading with h2 size
Example heading with h3 size
Following is sample java code.
int i = 10;
if(i>0){
System.out.println('positive');
}
<!DOCTYPE html>
<html>
<head>
<style>
body {
font-family: Arial, sans-serif;
}
.header {
background-color: #f0f0f0;
padding: 10px;
text-align: left;
font-weight: 900;
color: red;
}
.navbar {
background-color: #b2beb5;
padding: 10px;
}
.navbar a {
margin: 0 15px;
text-decoration: none;
color: black;
font-weight: bold
}
.logout {
float: right;
background-color: #ff4500;
color: white;
padding: 5px;
cursor: pointer;
}
.section-header {
background-color: blue;
color: white;
padding: 10px;
text-align: left;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
th {
background-color: #6e7f80;
color: white;
padding: 5px;
}
td {
padding: 10px;
border-bottom: 1px solid #ddd;
}
.total {
color: red;
float: right;
padding: 10px;
}
.btn {
background-color: blue;
color: white;
padding: 15px 30px;
text-align: center;
text-decoration: none;
display: block;
font-size: 16px;
margin: 44px auto;
cursor: pointer;
}
.container {
max-width: 800px;
margin: 0 auto;
}
</style>
</head>
<body>
<div class="container">
<div class="header">Quick EBill</div>
<div class="navbar">
<a href="#">HOME</a>
<a href="#">Pay Bill</a>
<a href="#">REGISTER COMPLAINT</a>
<a href="#">COMPLAINT STATUS</a>
</div>
<div><br><div class="logout">LOGOUT</div><br><br><br></div>
<div class="section-header">View Bill & Pay</div>
<table>
<tr>
<th>Customer Number</th>
<th>Select</th>
<th>Due Amount (₹)</th>
<th>Paid (₹)</th>
</tr>
<tr>
<td>1134567890223</td>
<td><input type="checkbox"></td>
<td>₹0.00</td>
<td>₹0.00</td>
</tr>
<tr>
<td>5678345212321</td>
<td><input type="checkbox"></td>
<td>₹2080.00</td>
<td>₹0.00</td>
</tr>
</table>
<div class="total">Total Amount Payable: ₹2080.00</div>
<button class="btn">Proceed to Pay</button>
</div>
</body>
</html>```