ex03.html 1.01 KB
<!DOCTYPE html>
<html lang="ko">
<head>
  <meta charset="utf-8">
</head>
<body>
  <table border = "1">

  <tr>
    <th>분류</th>
    <th>제품명</th>
    <th>단가</th>
    <th>수량</th>
    <th>금액</th>
  </tr>
  <tr>
    <td rowspan="3">공산품</td>
    <td>iPhone</td>
    <td align="right">900,000</td>
    <td align="right">2</td>
    <td align="right">1,800,000</td>
  </tr>
  <tr>
    <td>LED TV</td>
    <td align="right">3,000,000</td>
    <td align="right">3</td>
    <td align="right">9,000,000</td>
  </tr>
  <tr>
    <td colspan="3" align = "middle">소계</td>
    <td align="right">10,800,000</td>
  </tr>
  <tr>
    <td rowspan="2">농산품</td>
    <td>인삼</td>
    <td align="right">10,000</td>
    <td align="right">200</td>
    <td align="right">2,000,000</td>
  </tr>
  <tr>
    <td colspan="3", align = "middle">소계</td>
    <td align="right">2,000,000</td>
  </tr>
  <tr>
    <td colspan="4", align = "middle">합계</td>
    <td align="right">12,800,000</td>
  </tr>
</table>
</body>
</html>