<tr></tr>
represent a table row which is the container for the cells
permitted parent table, thead, tfoot, tbody
<th></th>
Table headings an individual cell can include titles of rows and/or columns
permitted parent tr
Attribute: rowspan and colspan(see below)
<table>open table
<tr> open row
<th> title</th><th> title</th> titles/topics for two columns below
</tr> close row
<tr> open row
<td> data</td>
<td>data</td> first row of information
</tr> close row
<tr> open row
<td> data</td><td>data</td>secondrow of information
</tr> close row
</table> close table
Title | Title | titles/topics for two columns below
---|---|
data | data | first row of information
data | data | first row of information
Contains the contains the th tags
permitted parent table
when using <caption> and/or <colgroup> the <thead> is used after but before <hbody> and <hfoot>
Contains a block of rows
permitted parent table