서현석

html exercise03

<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="utf-8">
</head>
<body>
<table border ="1">
<caption> 홈런순위 </caption>
<thead>
<tr>
<th> 분류</th>
<th> 제품명 </th>
<th> 단가 </th>
<th> 수량 </th>
<th> 금액 </th>
</tr>
</thead>
<tbody>
<tr>
<th rowspan ="3" > 공산품 </th>
<td> iPhone </td>
<td> 900,000 </td>
<td> 2</td>
<td> 1,800,000 </td>
<tr>
<td> LED TV </td>
<td> 3,000,000 </td>
<td> 3 </td>
<td> 9,000,000 </td>
</tr>
<th colspan = "3"> 소계 </th>
<td> 10,800,000 </td>
</tr>
<tr>
<th rowspan = "2"> 농산품</th>
<td> 인삼</td>
<td> 10,000</td>
<td> 200 </td>
<td> 2,000,000 </td>
<tr>
<th colspan = "3"> 소계 </th>
<th> 2,000,000 </th>
</tr>
</tbody>
<tfoot>
<tr>
<th colspan="4">합계</th>
<th> 12,800,000 </th>
</tfoot>
</table>
</body>
</html>