한단계씩 공부해보자!
웹페이지 크롤링을 위해서는 html에 대한 이해가 필요하다.
<thead>
<tr>
<th colspan="4" scope="col" class="sb_th">dd</th>
</tr>
<tr>
<th rowspan="2" scope="col">a</th>
<th rowspan="2" scope="col">b</th>
<th colspan="2" scope="col">c</th>
</tr>
<tr>
<th scope="col">
"e"
<br>
"f"
</th>
<th scope="col">
"g"
<br>
"h"
</th>
</tr>
</thead>
colspan
테이블의 셀을 열병합
(ex: colspan = "4")는 테이블의 4개 셀을 열병합하라는 뜻
rowspan
테이블의 셀을 행병합
(ex: rowspan = "2")는 테이블의 2개 셀을 행병합하라는 뜻
tr: 행
td: 열
th: 표의 헤더
caption 표 제목
table 테이블, (ex table border="1" ,테이블 테두리 1)
thead 헤더
tbody 데이터
tfoot 표아래