• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Description

Tables provide us with an organized format for information. Basically, with two indexes (the row number and the column number, for instance), you canfind a particular piece of information in the table (the cell) without having to go through the whole table.

Let's look at how tables are implemented in HTML. Imagine taking a square and slicing it horizontally a few dozen times, and then laying the strips in a sequence, so that where one strip ends, the next begins. This is precisely how HTML organizes its tables' cells. The <tr>...</tr> elements define the rows and the <td>...</td> and <th>...</th> elements define the individual cells. This is primarily how HTML defines its “two-dimensional” data structure for tables.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint