Introducing
Tables
Tables
are used in Web design for various reasons. They can be
used for creating a more organized layout, for presenting
data in a spreadsheet-like format, for aligning images in a more precise manner, and more.
The
following table lists the basic HTML tags used for creating
a table:
| Opening
Tag |
Closing
Tag |
Tag
Description |
| <TABLE>
|
</TABLE>
|
Begins
& ends the table |
| <TR>
|
</TR>
|
Establishes a row within a table |
| <TD>
|
</TD>
|
Defines a cell within a table |
Within
these basic tags, we can add various attributes including:
a table border, background color, width, and height. We
can also add cellpadding and cellspacing attributes that
also control the appearance of the table.
|