HTML Table Tags Examples I: Basic
Table Tags Examples Page 2
BORDERS
To the Table of Contents
CAPTION
To the Table of Contents
CELLPADDING
- CELLPADDING="5"
- CELLPADDING="10"
To the Table of Contents
CELLSPACING
- CELLSPACING="5"
- CELLSPACING="10"
To the Table of Contents
CELLPADDING AND CELLSPACING
- CELLPADDING="10" CELLSPACING="10"
To the Table of Contents
CELLPADDING, CELLSPACING AND IMG BORDER
- CELLPADDING="10", CELLSPACING="10", IMG BORDER="5"
To the Table of Contents
1X1 TABLE WITHIN 1X1 TABLE
- 1x1 TABLE WITHIN A 1x1 TABLE, BORDERS=1 & 3
- 1x1 TABLE WITHIN A 1x1 TABLE, BORDERS=7 & 7
To the Table of Contents
CENTERING IMAGES IN TABLES
In placing images in a table cell, any spaces between the tags in the coding may, depending upon the browser, get collapsed into space characters. These spaces can off center your image. Below are examples of this. For clarity, only the coding for the table cell with the image in it is shown. The table on the left has an image that is off-centered, the table on right has its image centered.
To the Table of Contents
Back to Image Tag Examples
TABLE ALIGNMENT
Table aligned center --Default setting. (Not fully supported) |
| |