Tables

Tables are composed of rows and columns. They are used to display data. Remember that:

The table tag creates a table. Rows are defined using the tr tag and columns are defined using the td tag.

The following table is composed of four rows and three columns:

1 2 3
2 x x
3 x x
4 x x

The following table is composed of two rows and four columns:

1 2 3 4
2 x x x

tr is short for Table Row.

td is short for Table Data.