HTML Tables

Tables are used to represent relationships and complex data, such as scores and stats, money markets, databases, etc.

In learning HTML, we can also use tables to organize less-complex (non-statistical) infomation. Tables can also break up linear information groups; for example, homweork step numbers, step details, and step images).

However, once we hit CSS, you should use stylesheets instead of HTML to organize text-based sets such as these. This is primarily because tables can be difficult for accessibility software to translate if done improperly.

The example on the following pages will show this situation, using a simple 2x2 set-up (“2 rows by 2 columns”):

Column A
Row 1 Cell A1
Row 2 Cell A2

html table