HTML5 Table Reference

A cheat sheet to help you to build great tables!

Table Tags

Tag Name Purpose
<table> HTML Table Tag the <table> tag defines an HTML table.
<thead> HTML Table Head Tag the <thead> tag Groups the header content in a table.
<tbody> HTML Table Body Tag the <tbody> tag Groups the body content in a table.
<tfoot> HTML Table Footer Tag the <tfoot> tag Groups the footer content in a table.
<tr> HTML Table Row Tag the <tr> tag Defines a row in a table.
<td> HTML Table Definition Tag the <td> tag Defines a cell in a table.

Table Attributes

Tag Name Purpose
colspan Coumn Span Tag the colspan attribute defines how many columns a td element should span.
rowspan Row Span Tag the rowspan attribute defines how many rows a td element should span..