Html
Hypertext Markup Language
HTML Table
S.No. | Tags | Description | Syntax |
---|---|---|---|
1 | Table | Table tag is used to create a table in html document. | <table> .... </table> |
2 | Tr | It is used to defines a row of cells in a table. | <tr>....</tr> |
3 | Th | Used for creates header of a group of cell in html table. | <th>....</th> |
4 | Td | It defines the standard cell in html document. | <td>Skillpundit</td> |
Example
<table border="2" cellpadding="1" cellspacing="2" width="100";>
<tr>
<th>Student Name </th>
<th>Student Qualification</th> </tr>
<tr>
<td>Anu</td>
<td>B.Sc</td> </tr>
<tr>
<td>Kalyan</td>
<td>B.Tech</td> </tr>
</table>
<th>
<th>Student Qualification</th> </tr>
<tr>
<td>Anu</td>
<td>B.Sc</td> </tr>
<tr>
<td>Kalyan</td>
<td>B.Tech</td> </tr>
</table>