|
|
|
|
|
| 7.5 |
セル内のスペースを指定 |
|
[例]
<table border cellpadding="8">
<tr>
<th>項目1</th>
<th>項目2</th>
</tr>
<tr>
<td>データ1</td>
<td>データ2</td>
</tr>
</table>
|
|
|
| 7.6 |
罫線とセル間の太さの指定 |
|
[例]
<table border="8" cellspacing="8">
<tr>
<th>項目1</th>
<th>項目2</th>
</tr>
<tr>
<td>データ1</td>
<td>データ2</td>
</tr>
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7.7 |
表のサイズの指定 |
|
[例]
<table border width="250" height="60">
<tr>
<th>項目1</th>
<th>項目2</th>
</tr>
<tr>
<td>データ1</td>
<td>データ2</td>
</tr>
</table>
|
|
|
| 7.8 |
複数セルを縦に結合 |
|
[例]
<table border>
<tr>
<td rowspan="2">項目</td>
<td>データ1</td>
<td>データ2</td>
</tr>
<tr>
<td>データ3</td>
<td>データ4</td>
</tr>
</table>
|
|
|
|
|
|
|
|
|
|