Tables

Tables are often used to organise information on a Web page. Tables on a Web page are the same as tables in a word processor or spreadsheet. They consist of rows and columns.

The HTML markup for tables consist of 3 basic tags, they are;

  1. table
  2. tr (defines a table row)
  3. td (defines a table column)

Here’s an example of a Web page table..

R-1 C-1 R-1 C-2 R-1 C-3
R-2 C-1 R-2 C-2 R-2 C-3

Here is what the markup looks like…

table markup

 

 

 

 

 

 

 

Tables can have “0″ or no border defined, this means the outline of the table will not be visable. Create a table in the practice Web page you have made, try inserting images within the cells and see how this can help organise you Web page.

Leave a Reply