Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use HTML <table> for information whose rows and columns have meaningful relationships—such as comparing prices, schedules, or measurements. Mark labels with <th>, values with <td>, and give the table a clear <caption>. For page layout, use CSS instead.

What is an HTML table?

The <table> element represents tabular data: information arranged in two dimensions through rows, columns, and data cells. A useful test is whether readers need to compare values across rows and columns because those values have a logical relationship. A schedule or product comparison fits; a sidebar placed beside an article does not.