Таблиця з CSS
<!DOCTYPE html>
<html>
<head>
<style>
table {
width:100%;
}
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
th, td {
padding: 15px;
text-align: left;
}
table#t01 tr:nth-child(even) {
background-color: #eee;
}
table#t01 tr:nth-child(odd) { /* непарний */
background-color: #fff;
}
table#t01 th {
background-color: black;
color: white;
}
</style>
</head>
<body>
<table id="t01">
<tr>
<th>Ім'я</th>
<th>Прізвищє</th>
<th>Рік народження</th>
</tr>
<tr>
<td>Олександр</td>
<td>Пасхавер</td>
<td>1945</td>
</tr>
<tr>
<td>Андрій</td>
<td>Кузьменко</td>
<td>1968</td>
</tr>
</table>
</body>
</html>