Tables

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

  • Tables are created using the table tag
  • Rows go side to side and are created using the tr tag
  • Data is placed within td tags

The following table is composed of six rows and three columns. Each row contains three elements of data:

Ranking Show Stars
1 Game of Thrones 9.4
2 The Walking Dead 8.9
3 Stranger Things 9.4
4 Family Guy 8.3
5 Criminal Minds 9.2

The following table is composed of two rows and five columns. Each row has elements of data:

Coalinga7777 Kingsburg7770

tr is short for table row.

td is short for table data.

Email Kris! kbark-s444@chusd.org