Orvado Technologies is your one-stop shop for custom web site solutions, quality work at affordable rates
 
orvado side

<TD>

The table data (TD) tag is used to define individual cells of a table. These cells can hold any HTML content. To a large extent, the width of columns and height of rows is largely determined by the content for the table data cells.

A closing tag is required for this element.

Attributes

Attribute Description
ID Identifies this tag to reference in script (program code)
CLASS Define the class used to render this element (defined by a style sheet)
TITLE A title that is associated with the element (displayed as a tooltip in Internet Explorer)
HEADERS Contains a list of header cells (TH) which contain information for this table data (TD). This can be a column header (which appears above) or a row header which appears to the left. The values reference the IDs of the header cells and are separted by a space character.
ABBR Contains an abbreviated version of the contents of the table cell. This is mainly used for non-visual user-agents and speech rendering applications.
AXIS Use this attribute to place a cell into a conceptual category that forms the axes in an n-dimensional space.
ROWSPAN Indicats the total number of rows this table cell occupies. By default, a table cell will only occupy one row. You may assign the special value of zero ("0") to indicate the cell should occupy all rows starting from the current row to the last.
COLSPAN Specifies the total number of columns this table cell occupies. By default, a table cell will only occupy one column. You may assign the special value of zero ("0") to indicate the cell should occupy all columns starting from the current column to the last.
NOWRAP [DEPRECATED] Indicates that no wrapping of text should occur within this table data element
WIDTH Define a recommened cell width for the table data. This can be a number of pixels or a percentange of the total available width. The user-agent is free to set cell widths as needed to resolve conflicts.
HEIGHT Define a recommened cell height for the table data. This can be a number of pixels or a percentange of the total available height. The user-agent is free to set cell widths as needed to resolve conflicts.
BGCOLOR Defines a background color to render this table cell with. This should be a red-green-blue triplet value such as "#ffc0ff" or one of the pre-defined color constants.
ALIGN Specifies the horizontal alignment of the content placed within the table data element. This may be one of the following: "left", "right" or "center".
VALIGN Specifies the vertical alignment of the content placed within table cells inside this table row element. This may be one of the following: "top", "bottom" or "center".

Example

<TABLE BORDER="1" CELLPADDING="2" CELLSPACING="10" BGCOLOR="#F0FFF0">
<TR>
	<TD>Upper left</TD>
	<TD>Upper right</TD>
</TR><TR>
	<TD>Lower left</TD>
	<TD>Lower right</TD>
</TR>
</TABLE>
Renders As:
Upper left Upper right
Lower left Lower right

Compatibility

HTML 4.01
Return to HTML Tag Reference Overview

Featured Clients

Ocho Rios Tours

Ocho Rios is a jamaican tour company specializing in unique custom tours for cruise ships and tourists. They came to us in need of a site redesign.
Site Map   Terms of Service   Privacy Policy