📕 테이블 태그
📚 <table> <caption> <thead> <tbody> <tfoot> <tr> <th> <td>
<table> : 표 삽입 (table)
<caption>text</caption> : 표의 제목(캡션) 붙이기
<thead> : 표 머리 생성 (table head)
<tr><th>text</th></tr> : 표의 행 생성(table row)
: 표의 제목요소 생성 (table header)
</thead>
<tbody> : 표의 본문 생성 (table body)
<tr><td>text</td></tr> : 표의 일반요소 생성 (table data)
</tbody>
<tfoot> : 표의 꼬리 생성 (table foot)
<tr><td>text</td></tr>
</tfoot>
</table>
<table>_속성
- width = " (숫자) "
<table width = "100"></table> : 표의 너비 지정
- summary = " (text) "
<table summary = "이 표는..."></table> : 표의 내용 요약.
- border = " (숫자) "
<table border = "1"></table> : 표의 테두리 지정
<th> <td> _속성
- rowspan = " (숫자) "
<th rowspan = "2"></th> : 셀의 높이 지정 (세로)
- colspan = " (숫자) "
<td colspan = "2" ></td> : 셀의 너비 지정 (가로)