Table Setter — HTML

Build data tables: 18 levels of thead, tbody, colspan and rowspan. An HTML table game for learning tabular data with semantic structure.

What you learn in this game

An HTML table is made of rows (<tr>) and data cells (<td>). Each <td> holds one piece of data. It's like setting dishes on a table: each plate has its own spot.

The <th> tag (table header) is used for a title/label cell in a table. The browser automatically makes <th> text bold and centered. Use <th> in the first row to name each column.

An HTML table can be divided into parts: <thead> for the header rows, <tbody> for the data rows, and <tfoot> for the summary rows. This helps the browser and screen readers understand the table structure.

The colspan attribute makes one cell span several columns. For example colspan="3" means the cell is 3 columns wide. Useful for a table title or a summary cell that needs to be wider.