<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
<style>
table {
border-collapse: collapse;
width: 100%;
}
tr {
background-color: #f5f5f5;
}
th,
td {
padding: 15px;
text-align: left;
border-bottom: 1px solid #ccc;
}
tr:hover {
background-color: #cdcdcd;
}
</style>
</head>
<body>
<h2>Hoverable table example</h2>
<table>
<tr>
<th>First Name</th>
<th>Last Name</th>
<th>Money</th>
</tr>
<tr>
<td>Sherlock</td>
<td>Holmes</td>
<td>$200</td>
</tr>