HTML table
주말에도 가즈아아아아앙ㅋㅇㅇ
1. HTML table???
strctured sets of data- 행(row)과 열(columns)으로 이루어져 있다.
- 데이터를 보기 쉽게 한다.
- 과거 웹사이트의 layout으로 사용했다.
2. table elements
<tr>: 행(table row)<th>: 열(table column)<thead>: 표 분류 제목<tbody>: 표 주요 내용<tfoot>: 평균이나 합과 같은 값<thead>,<tbody>,<tfoot>은 표를 논리 섹션으로 분리하는 작업 외에는 하는 일이 없다.
3. <th> attribute rowspans & colspans
- rowspan: 행을 늘리는 속성(attribute)
- colspan: 열을 늘리는 속성(attribute)