Reading HTML table data / html tag
- by user348038
I have some 50 pages of html which have around 100-plus rows of data in each, with all sort of CSS style, I want to read the html file and just get the data, like Name, Age, Class, Teacher. and store it in Database, but I am not able to read the html tags
e.g
space i kept to display it here
<table class="table_100">
<tr>
<td class="col_1">
<span class="txt_student">Gauri Singh</span><br>
<span class="txt_bold">13</span><br>
<span class="txt_bold">VIII</span><br>
</td>
<td class="col_2">
<span class="txt_teacher">Praveen M</span><br>
<span class="txt_bold">3494</span><br>
<span class="txt_bold">3Star</span><br>
</td>
<td class="col_3">
</td>
</tr>
</table>