Объяснение:
<!DOCTYPE html>
<head>
<meta charset="utf-8"/>
<style>
table {
border: 1px solid black;
border-collapse: collapse;
vertical-align: top;
}
th {
padding: 15px;
text-align: center;
td {
padding: 7px;
text-align: left;
</style>
</head>
<body>
<table>
<caption>Тестовая таблица</caption>
<tr>
<td width="80px" rowspan="2"></td>
<th width="150px" colspan="2"><b>Средний</b></th>
<th width="100px" rowspan="2"><b>Карие</b><br><b>глаза</b></th>
</tr>
<th><b>рост</b></th>
<th><b>вес</b></th>
<td><b>Мужчины</b></td>
<td>1.9</td>
<td>0.003</td>
<td>40%</td>
<td><b>Женщины</b></td>
<td>1.7</td>
<td>0.002</td>
<td>43%</td>
</table>
</body>
</html>
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Объяснение:
<!DOCTYPE html>
<head>
<meta charset="utf-8"/>
<style>
table {
border: 1px solid black;
border-collapse: collapse;
vertical-align: top;
}
th {
padding: 15px;
text-align: center;
border: 1px solid black;
vertical-align: top;
}
td {
padding: 7px;
text-align: left;
border: 1px solid black;
vertical-align: top;
}
</style>
</head>
<body>
<table>
<caption>Тестовая таблица</caption>
<tr>
<td width="80px" rowspan="2"></td>
<th width="150px" colspan="2"><b>Средний</b></th>
<th width="100px" rowspan="2"><b>Карие</b><br><b>глаза</b></th>
</tr>
<tr>
<th><b>рост</b></th>
<th><b>вес</b></th>
</tr>
<tr>
<td><b>Мужчины</b></td>
<td>1.9</td>
<td>0.003</td>
<td>40%</td>
</tr>
<tr>
<td><b>Женщины</b></td>
<td>1.7</td>
<td>0.002</td>
<td>43%</td>
</tr>
</table>
</body>
</html>