Professional Documents
Culture Documents
Weew Weww W
Weew Weww W
Weew Weww W
DOCTYPE html>
<html>
<head>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
table {
border-collapse: collapse;
width: 70%;
margin-top: 20px;
th, td {
padding: 10px;
text-align: center;
}
th {
background-color: #333;
color: white;
}
tr.Adult {
background-color: #e0ffe0;
}
tr.NotAdult {
background-color: #ffcccc;
text-decoration: overline red;
color: red;
}
</style>
</head>
<body>
<table border="1" class="tbl">
<thead>
<tr>
<th>First Name</th>
<th>Last Name</th>
<th>Age</th>
</tr>
</thead>
<tbody>
<tr class="Adult">
<td>Random</td>
<td>ok</td>
<td>22</td>
</tr>
<tr class="NotAdult">
<td>Nika</td>
<td>Enukidze</td>
<td>15</td>
</tr>
<tr class="Adult">
<td>ok</td>
<td>randomh</td>
<td>27</td>
</tr>
</tbody>
</table>
</body>
</html>