HTML Tag Referece

Table Tags
Tag Name Description
<table> </table> Tag defines a table This tag encloses the whole table content.
<caption> </caption> Table Caption Tag that defines table caption. Needs to be inserted immidiatly after <table> tag is declared. Text will be centerd and alligned above the table.
<thead> </thead> Table Header Groups the content within the head of the table.
<tbody> </tbody> Table Body Groups the content within the body of the table.
<tfoot> </tfoot> Table Footer Groups the content within the footer of the table.
<tr> </tr> Table Row Table rows are defined by this tag.
<th> </th> Table Header Tag is used to define header cell in the table. This tag centers and bolds the content as per default.
<td> </td> Table Data Tag is used to define data within the table. The content will appear regularly and alligned to the left.
Table Attributes
Attribute Name Description
colspan Column Span Used to define how many columns will td/th span over.
rowspan Row Span Used to define how many rows will td/th span over.