Tables let you display data in rows and columns β perfect for schedules, comparison charts, stats, and more. Theyβre made using a set of tags that define the table, rows, headers, and data cells.
<thead> for table headers, <tbody> for body rows β it helps browsers and screen readers understand your data better.
<table> β The container for your entire table.<tr> β Table Row; groups cells horizontally.<th> β Table Header cell; bold & centered by default.<td> β Table Data cell; normal cell for your content.<thead> β Wraps header rows.<tbody> β Wraps the main data rows.<tfoot> β Optional footer rows.Change the code below and hit Render to see your table live!