Defines a row inside of a table.
align=alignment |
|||||||||
Defines the horizontal alignment of the data within
the row.
|
|||||||||
background="url" |
|||||||||
Specifies a URL containing an image to be displayed as a background for the cell. If the image is smaller than the table the image will be tiled. |
|||||||||
bgcolor="color" |
|||||||||
| The color for the background of the cell. | |||||||||
bordercolor="color" |
|||||||||
| The color of the border. Ignored if the BORDER attribute is missing or zero. | |||||||||
bordercolordark="color" |
|||||||||
| One of the colors for a 3D border. Ignored if the BORDER attribute is missing or zero. | |||||||||
bordercolorlight="color" |
|||||||||
| One of the colors for a 3D border. Ignored if the BORDER attribute is missing or zero. | |||||||||
class=class |
|||||||||
Indicates that the text is to be formatted using the specified class. |
|||||||||
| dir=direction | |||||||||
Indicates the direction (right or left) that the text is to be displayed. Useful for languages which display left to right. |
|||||||||
event=JavaScript |
|||||||||
| When event occurs, execute the specified JavaScript. | |||||||||
id = "name" |
|||||||||
You can give a text a name, which allows it to be referenced and changed in a script (dynamic HTML). |
|||||||||
| lang="lang" | |||||||||
| Indicates the language of the text within the text. | |||||||||
nowrap |
|||||||||
Use this to keep data within a table from wrapping if the width of the table is exceeded. |
|||||||||
style="style" |
|||||||||
Defines the style in which the text will be displayed. This overrides any style elements at an "outer" level, such as from the BODY or the Cascading Style Sheet. |
|||||||||
title="title" |
|||||||||
You can give a text a title if you want. This provides some additional information about the text. I'm not sure why you would want to do this, but you could. |
|||||||||
valign=n |
|||||||||
Specifies the vertical alignment of the data within
the cells.
|
|||||||||
<table border="1">
<tr>
<td>Cell 1</td>
<td>Cell 2</td>
<td rowspan="3">Rowspan</td>
</tr>
<tr>
<td colspan="2">Colspan</td>
</tr>
<tr>
<td>Cell 3</td>
<td>Cell 4</td>
</tr>
</table>
|
Cell 1 Cell 2 Rowspan Colspan Cell 3 Cell 4
Unless otherwise noted, all photos and text is Copyright © Richard G Lowe, Jr.