2. scope, id/headers 작성 예
■ scope-col 작성 예
데이터테이블:scope-col 작성 예
scope=col |
scope=col |
scope=col |
scope=col |
scope=col |
|
|
|
|
|
<table>
<caption>데이터테이블:scope-col</caption>
<colgroup>
<col style="width:20%">
</colgroup>
<thead>
<tr>
<th scope="col">scope=col</th>
</tr>
</thead>
<tbody>
<tr>
<td> </td>
</tr>
</tbody>
</table>
■ scope-row 작성 예
데이터테이블:scope-row 작성 예
scope=row |
|
|
|
|
scope=row |
|
|
|
|
<table>
<caption>데이터테이블:scope-row</caption>
<colgroup>
<col style="width:20%" span="5">
</colgroup>
<tbody>
<tr>
<th scope="row">scope=row</th>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table>
■ id/headers 작성 예
데이터테이블:id/headers 작성 예
id=exc1 |
id=exc2 |
id=exc3 |
id=exc4 |
id=exc5 |
id=exr1 |
id=exr2 |
headers=exc2 exc4 exr1 exr2 |
headers=exc2 exc5 exr1 exr2 |
headers=exc3 exr1 exr2 |
id=exr3 |
headers=exc2 exc4 exr3 |
headers=exc2 exc5 exr3 |
headers=exc3 exr3 |
<table>
<caption>데이터테이블:id/headers 작성 예</caption>
<colgroup>
<col style="width:20%" span="5">
</colgroup>
<thead>
<tr>
<th scope="col" colspan="2" rowspan="2" id="exc1">id=exc1</th>
<th scope="col" colspan="2" id="exc2">id=exc2</th>
<th scope="col" rowspan="2" id="exc3">id=exc3</th>
</tr>
<tr>
<th scope="col" id="exc4">id=exc4</th>
<th scope="col" id="exc5">id=exc5</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row" id="exr1">id=exr1</th>
<th scope="row" id="exr2">id=exr2</th>
<td headers="exc2 exc4 exr1 exr2">headers=exc2 exc4 exr1 exr2</td>
<td headers="exc2 exc5 exr1 exr2">headers=exc2 exc5 exr1 exr2</td>
<td headers="exc3 exc6 exr1 exr2">headers=exc3 exr1 exr2</td>
</tr>
<tr>
<th scope="row" colspan="2" id="exr3">id=exr3</th>
<td headers="exc2 exc4 exr3">headers=exc2 exc4 exr3</td>
<td headers="exc2 exc5 exr3">headers=exc2 exc5 exr3</td>
<td headers="exc3 exr3">headers=exc3 exr3</td>
</tr>
</tbody>
</table>