<TD>Table Data Row Two <TR> </TABLE>
TH
Table cell headings are placed within the opening and closing statements of the TH tag. A TH tag is somewhat similiar to the TD tags with the exception that the TH tag is normally presented in boldface font. For example:
<TABLE> <TR> <TH>Heading One <TH>Heading Two </TR> <TR> <TD>Table Data Row One
TH Attributes:
AXIS=" ... "
This attribute is used to define an abbreviated name for the cell. AXES=" ... "
This attribute is used to list the AXIS values that pertain to that cell.
ALIGN="LEFT, RIGHT, CENTER, JUSTIFY, or CHAR"
This attribute defines how the TEXT within the table header will align with the edges of the table cells.
CHAR=" ... "
This attribute defines the character upon which the cell contents will align, the default being the decimal point.
CHAROFF=" ... "
This attribute is used to define the number of characters, measured from the left of the cell, taht the cell contents will align upon.
BACKGROUND="URL"
This attribute defines the absolute or relative location (URL) of the background image to be used.
BGCOLOR="#RRGGBB" or a color in qoutes, such as "RED", "BLUE" or "YELLOW"
This attribute sets the color of the element to which it was invoked, this case being color of the background used. It can be applied to anything that can be colored, such as text, borders, or backgrounds. The color can be defined using a proper color name such as "RED" or with an #RGB (Red-Green-Blue) value.
BORDERCOLOR="#RRGGBB" or a color in quotes, such as "RED", "BLUE" or "YELLOW"
This attribute sets the color of the element to which it was invoked, this case being the border color of the cell. It can be applied to anything that can be colored, such as text, borders, or backgrounds. The color can be defined using a proper color name such as "RED" or with an #RGB (Red-Green-Blue) value.
BORDERCOLORDARK="#RRGGBB" or a color in quotes, such as "RED", "BLUE" or "YELLOW"
This attribute sets the color of the element to which it was invoked, this case being the darker of the two colors used to create the raised '3D' effect of the border around the cells of the table. It can be applied to anything that can be colored, such as text, borders, or backgrounds. The color can be defined using a proper color name such as "RED" or with an #RGB (Red-Green-Blue) value.
BORDERCOLORLIGHT="#RRGGBB" or a color in quotes, suchas "RED", "BLUE" or "YELLOW"
This attribute sets the color of the element to which it was invoked, this case being the lighter of the two colors used to create the raised '3D' effect of the border around the cells of the table. It can be applied to anything that can be colored, such as text, borders, or backgrounds. The color can be defined using a proper color name such as "RED" or with an #RGB (Red-Green-Blue) value.
CLASS=" ... "
This attribute indicates the style 'class' applicable to the tag to which it has been assigned, the style 'class' being a function of a style sheet. For example, assume the style class 'relaxed' includes text with a font size of 8, and the style class 'active' includes text with a font size of 12. Using the CLASS="relaxed" attribute with a tag will cause the text within that tag to be displayed with a font size of 8. Using the CLASS="active" attribute with a tag will cause the text within that tag to be displayed with a font size of 12.
COLSPAN="n"
This attribute defines the number of cells to which this information is applied.
ID="n"
The ID attribute is used to assign a unique ID selector (identification) to the tag in which it is invoked. A style may be assigned to that ID, which will effect only that one instance of the attribute.
NOWRAP
This attribute disables word wrapping.
ROWSPAN="n"
This attribute specifies that the information relates to more than one cell.
STYLE=" ... "
Used to specify which style sheet commands to apply to the instance of the STYLE attribute invoked within the tag.
TITLE=" ... "
The TITLE attribute is used to display a note or information in a popup window pertaining to the object to which it was assigned. The popup window is invoked by holding the mouse pointer over the object.
VALIGN="TOP, MIDDLE, BOTTOM, or BASELINE"
This attribute specifies the vertical positioning of the contents of the cell.
WIDTH="n"
This attribute defines the width of the cell, and is measured in pixels or as a percentage of available space.
This tag also accepts the following Event Handlers: onAfterUpdate
onBeforeUpdate
onBlur
onClick
onDblClick
onDragStart
onFocus
onHelp
onMouseDown
onMouseUp
onMouseOver
onMouseMove
onMouseOut
onKeyPress
onKeyDown
onKeyUp
onResize
onRowEnter
onRowExit
onScroll
onSelectStart