HTML Tables and their Attributes

A fantastic creation by...


Christopher Barrett

Table Tags

Tag Name Description
<table> Table The wrapper element for all HTML tables.
<thead> Table Head Defines the headings of table columns.
<tbody> Table Body The set of rows containing actual table data.
<tr> Table Row Used to add rows to a table.
<td> Table Data Adds a cell of data to a table.
<tfoot> Table Foot Defines footer or summary content at the end of a table.

Table Attributes

Attribute Name Description
colspan Column Span Defines how many columns a <td> element should span.
rowspan Row Span Defines how many rows a <td> element should span.