<!DOCTYPE html>
<html>
<head>
<style>
table, th, td {
    border: 1px solid black;
}
</style>
</head>
<body>

<table>
  <tr>
    <th>Month</th>
    <th>Savings</th>
    <th>Savings for holiday!</th>
  </tr>
  <tr>
    <td>January</td>
    <td>$100</td>
    <td rowspan="2">$50</td>
  </tr>
  <tr>
    <td>February</td>
    <td>$80</td>
  </tr>
</table>

</body>
</html>

 -------------------------------------------------------------------

Month Savings Savings for holiday!
January $100 $50
February $80

--------------------------------------------------------------------

rowspan은 셀 합치기 를 말한다 2는 row 즉 열 2개를 합치겠다는 의미

'Programming > Java' 카테고리의 다른 글

rowspan  (0) 2016.02.15
onkeypress  (0) 2016.02.15

+ Recent posts