성준영

practice_3 테이블 만들기

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>테이블</title>
</head>
<body>
<table border="1px">
<thead>
<tr>
<th>분류</th>
<th>제품명</th>
<th>단가</th>
<th>수량</th>
<th>금액</th>
</tr>
</thead>
<tbody>
<tr>
<th rowspan="3">공산품</th>
<th>iPone</th>
<th>900,000</th>
<th>2</th>
<th>1,800,000</th>
</tr>
<tr>
<th>LED TV</th>
<th>3,000,000</th>
<th>3</th>
<th>9,000,000</th>
</tr>
<tr>
<th colspan="3">소계</th>
<th>10,800,000</th>
</tr>
<tr>
<th rowspan="2">농산품</th>
<th>인삼</th>
<th>10,000</th>
<th>200</th>
<th>2,000,000</th>
</tr>
<tr>
<th colspan="3">소계</th>
<th>2,000,000</th>
</tr>
<tr>
<th colspan="4">합계</th>
<th>12,800,000</th>
</tr>
</tbody>
</table>
</body>
</html>
\ No newline at end of file