Basic HTML Table
🌐
filename.html
<table class="custom-table">
<thead>
<tr>
<th>#</th>
<th>Name</th>
<th>Email</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Abu Khoyer</td>
<td>abu@email.com</td>
<td>Active</td>
</tr>
<tr>
<td>2</td>
<td>Bornomala</td>
<td>bornomala@email.com</td>
<td>Inactive</td>
</tr>
</tbody>
</table>
CSS Styling
🎨
filename.css
.custom-table {
width: 100%;
border-collapse: collapse;
font-family: Arial, sans-serif;
}
.custom-table th,
.custom-table td {
border: 1px solid #ddd;
padding: 10px;
text-align: left;
}
.custom-table thead {
background-color: #f4f4f4;
}
.custom-table tr:hover {
background-color: #f9f9f9;
}