Html Language / Html Table

It consists of rows and columns and the tags where below.

Tag Description
<table> Defines a table
<th> Defines a header cell in a table
<tr> Defines a row in a table
<td> Defines a cell in a table
<caption> Defines a table caption
<colgroup> Specifies a group of one or more columns in a table for formatting
<col> Specifies column properties for each column within a <colgroup> element
<thead> Groups the header content in a table
<tbody> Groups the body content in a table
<tfoot> Groups the footer content in a table

Rowspan Attribute
It defines space between rows of a table.

Colspan Attribute
It defines space between columns of a table.



Table Tags


Home     Back