w3c icon + 2.0 3.0 3.2 4.0
Netscape icon 1.1 2.0 3.0 4.0  
MSIE icon 1.0 2.0 3.0 4.0  
Mosaic icon 1.0 2.0      
Opera 1.0 2.1 3.0    
WebTV 0.9 1.2      

<td>

container
CSS: block element
start tagrequired
end tagoptional
Sandia Reference
Link to Site Map

The <table> and </table> tags define a table. Within the table definitions, <tr> defines a table row and <td> defines a table cell.

absheight=
WebTV 0.9 1.2      
A WebTV Tag:
Use the absheight attribute to set the absolute height of the cell. There is no default value for absheight. The attribute is ignored if it isn't specified. Note that content that doesn't fit in the cell isn't visible.
abswidth=
WebTV 0.9 1.2      
A WebTV Tag:
Use the abswidth attribute to set the absolute height of the cell. There is no default value for abswidth. The attribute is ignored if it isn't specified. Note that content that doesn't fit in the cell isn't visible.
align=
w3c icon + 2.0 3.0 3.2 4.0?
MSIE icon 1.0 2.0 3.0 4.0  
Opera 1.0 2.1 3.0    
WebTV 0.9 1.2      
specifies the horizontal alignment of the text within the cell. (w3)
center
default
w3c icon + 2.0 3.0 3.2 4.0?
Netscape icon 1.1 2.0 3.0 4.0  
MSIE icon 1.0 2.0 3.0 4.0  
Opera 1.0 2.1 3.0    
WebTV 0.9 1.2      
the text is centered between the cell margins. (w3)
a small table
char
w3c icon + 2.0 3.0 3.2 4.0?
This defines the alignment character typically used for decimal alignment.
decimal
w3c icon + 2.0 3.0 3.2 4.0?
Text lines are indented such that the first occurrence of a decimal point on each line are aligned vertically. If a line doesn't contain a decimal point, the line is rendered flush left for data cells and centered for heading cells.
justify
w3c icon + 2.0 3.0 3.2 4.0?
MSIE icon 1.0 2.0 3.0 4.0  
WebTV 0.9 1.2      
When applicable, the text should be sized to fill the space between the left and right cell margins. (w3)
a small table
left
w3c icon + 2.0 3.0 3.2 4.0?
Netscape icon 1.1 2.0 3.0 4.0  
MSIE icon 1.0 2.0 3.0 4.0  
Opera 1.0 2.1 3.0    
WebTV 0.9 1.2      
flush left with the left cell margin. This implies a rag right margin. (w3) (IExplorer)
a small table
right
w3c icon + 2.0 3.0 3.2 4.0?
Netscape icon 1.1 2.0 3.0 4.0  
MSIE icon 1.0 2.0 3.0 4.0  
Opera 1.0 2.1 3.0    
WebTV 0.9 1.2      
forces text flush right with the right cell margin. This implies rag left. (w3) (IExplorer)
a small table
axes=
w3c icon + 2.0 3.0 3.2 4.0?
MSIE icon 1.0 2.0 3.0 4.0  
There are certain circumstances where you might want field names. Databases and speech synthesis are two such conditions. Consider a database record: it contains a field name and a field content. The argument to the "axes=" attribute would be the field name and the argument to the "axis=" attribute would be the field content. The table row would be the record.

Consider the following example:
<table>
<tr>
<th>City</th>
<th>Population</th>
<th>Area</th>
</tr>
<tr>
<td axis="Ottawa" axes="city"> Ottawa</td>
<td axis="300K" axes="population"> 300,000</td>
<td axis="120" axes="area"> 120 sq.mi.</td>
<tr>
<td axis="Kanata" axes="city"> Kanata</td>
<td axis="100K" axes="population"> 100,000</td>
<td axis="80" axes="area"> 80 sq.mi.</td>
<tr>
</table>

MSIE 2.0 DTD specifies that this attribute is not supported.

axis=
w3c icon + 2.0 3.0 3.2 4.0?
MSIE icon 1.0 2.0 3.0 4.0  
"axis=" works in conjunction with "axes=" above. Look there for a reasonable explanation.

MSIE 2.0 DTD specifies that this attribute is not supported.

background=
WebTV 0.9 1.2      
A WebTV Tag:
The WebTV interface for version 1.1 implements the background attribute as defined in Microsoft Internet Explorer
bgcolor=
w3c icon + 2.0 3.0 3.2 4.0?
Netscape icon 1.1 2.0 3.0 4.0  
MSIE icon 1.0 2.0 3.0 4.0  
Opera 1.0 2.1 3.0    
WebTV 0.9 1.2      
sets the background colour of the table cell, (IExplorer)
#rrggbb this is six hexadecimal numbers that stipulates a specific colour from a palette of 32768 colours. The colours are specified in rr="" red, gg="" green, bb="" blue. According to Microsoft, the # sign is optional
Colours with 140 named Netscape colours and 16 named Internet Explorer colours.
This is a complete explanation of colour by:Gernot Metze
colorname in addition to the #rrggbb combination above, specific colours can be specified by name. Supported colours are:
Colours with 140 named Netscape colours and 16 named Internet Explorer colours.
This is a complete explanation of colour by:Gernot Metze
black, maroon, green, olive, navy, purple, teal, gray, silver (silver),
red, lime, yellow, blue, fuchsia, aqua and white (white)
bordercolor=
MSIE icon 1.0 2.0 3.0 4.0  
WebTV 0.9 1.2      
sets border color and must be used with the BORDER attribute. (IExplorer)
#rrggbb this is six hexadecimal numbers that stipulates a specific colour from a palette of 32768 colours. The colours are specified in rr="" red, gg="" green, bb="" blue. According to Microsoft, the # sign is optional
Colours with 140 named Netscape colours and 16 named Internet Explorer colours.
This is a complete explanation of colour by:Gernot Metze
colorname in addition to the #rrggbb combination above, specific colours can be specified by name. Supported colours are:
Colours with 140 named Netscape colours and 16 named Internet Explorer colours.
This is a complete explanation of colour by:Gernot Metze
black, maroon, green, olive, navy, purple, teal, gray, silver (silver),
red, lime, yellow, blue, fuchsia, aqua and white (white)
bordercolordark=
MSIE icon 1.0 2.0 3.0 4.0  
WebTV 0.9 1.2      
Sets independent border color control over one of the two colors used to draw a 3D border, opposite of BORDERCOLORLIGHT and must be used with the BORDER attribute. (IExplorer)
#rrggbb this is six hexadecimal numbers that stipulates a specific colour from a palette of 32768 colours. The colours are specified in rr="" red, gg="" green, bb="" blue. According to Microsoft, the # sign is optional
Colours with 140 named Netscape colours and 16 named Internet Explorer colours.
This is a complete explanation of colour by:Gernot Metze
colorname in addition to the #rrggbb combination above, specific colours can be specified by name. Supported colours are:
Colours with 140 named Netscape colours and 16 named Internet Explorer colours.
This is a complete explanation of colour by:Gernot Metze
black, maroon, green, olive, navy, purple, teal, gray, silver (silver),
red, lime, yellow, blue, fuchsia, aqua and white (white)
bordercolorlight=
MSIE icon 1.0 2.0 3.0 4.0  
WebTV 0.9 1.2      
sets independent border color control over one of the two colors used to draw a 3D border, opposite of BORDERCOLORDARK and must be used with the BORDER attribute. (IExplorer)
#rrggbb this is six hexadecimal numbers that stipulates a specific colour from a palette of 32768 colours. The colours are specified in rr="" red, gg="" green, bb="" blue. According to Microsoft, the # sign is optional
Colours with 140 named Netscape colours and 16 named Internet Explorer colours.
This is a complete explanation of colour by:Gernot Metze
colorname in addition to the #rrggbb combination above, specific colours can be specified by name. Supported colours are:
Colours with 140 named Netscape colours and 16 named Internet Explorer colours.
This is a complete explanation of colour by:Gernot Metze
black, maroon, green, olive, navy, purple, teal, gray, silver (silver),
red, lime, yellow, blue, fuchsia, aqua and white (white)
cellhalign=
w3c icon + 2.0 3.0 3.2 4.0
Provides control of the horizontal alignment of data in the cells. This is an identical condition to "align=", above, so the purpose of this attribute is not certain.
"left" This is total supposition on the part of the author! The specification (HTML 4.0) gives no arguments to this attribute.
"center" This is total supposition on the part of the author! The specification (HTML 4.0) gives no arguments to this attribute.
"right" This is total supposition on the part of the author! The specification (HTML 4.0) gives no arguments to this attribute.
cellvalign=
w3c icon + 2.0 3.0 3.2 4.0
Controls the vertical alignment of data in the cell. This is an identical condition to "valign=" below, so the purpose of this attribute is unclear, given the lack of arguments in the specification.
"bottom" This is total supposition on the part of the author! The specification (HTML 4.0) gives no arguments to this attribute.
"middle" This is total supposition on the part of the author! The specification (HTML 4.0) gives no arguments to this attribute.
"top" This is total supposition on the part of the author! The specification (HTML 4.0) gives no arguments to this attribute.
char=
w3c icon + 2.0 3.0 3.2 4.0
CHAR specifies a single character to be used for alignment, and defaults to the decimal point in the current language. (Sandia)
charoff=
w3c icon + 2.0 3.0 3.2 4.0
"When present, this attribute specifies the offset to the first occurrence of the alignment character on each l9nme. If a line doesn't include the alignment character, it should be horizontally shifted to end at the alignment position." (W3C HTML 4.0)

Sandia provides a slightly different explanation: "CHAROFF specifies the offset, in the DIR direction, to the first occurrence of the CHAR character on each line. If a line doesn't include the CHAR character, it is to end at the CHAROFF position. The default value for CHAROFF is either 50% or whatever will cause the CHAR characters in all cells with a declared CHAR in a column to align."(Sandia)

class=
w3c icon + 2.0 3.0 3.2 4.0
Netscape icon 1.0 2.0 3.0 4.0  
MSIE icon 1.0 2.0 3.0 4.0  
WebTV 0.9 1.2      
colspan=
w3c icon + 2.0 3.0 3.2 4.0
MSIE icon 1.0 2.0 3.0 4.0  
Opera 1.0 2.1 3.0    
WebTV 0.9 1.2      
specifies the number of columns spanned by the cell.
dir=
w3c icon + 2.0 3.0 3.2 4.0
ltr
rtl
dp=
w3c icon + 2.0 3.0 3.2 4.0
MSIE icon 1.0 2.0 3.0 4.0  
This specifies the character to be used for the decimal point with the COLSPEC attribute, e.g. dp="." (the default) or dp=",." The default may be altered by the language context, as set by the LANG attribute on enclosing elements. (w3)

MSIE 2.0 DTD specifies that this attribute is not supported.

height=
w3c icon + 2.0 3.0 3.2 4.0?
WebTV 0.9 1.2      
A WebTV Tag:
Use the height attribute to set the height of the cell. By default, the height fits the content for the table element. Note that the WebTV interface will increase the height of the cell if the content doesn't fit in the space specified. The WebTV interface will also truncate the cell if the surrounding table or web page can't accommodate the value set for the height attribute.
id=
w3c icon + 2.0 3.0 3.2 4.0
Netscape icon 1.0 2.0 3.0 4.0  
MSIE icon 1.0 2.0 3.0 4.0  
WebTV 0.9 1.2      
lang=
w3c icon + 2.0 3.0 3.2 4.0
Netscape icon 1.0 2.0 3.0 4.0  
MSIE icon 1.0 2.0 3.0 4.0  
maxlines=
WebTV 0.9 1.2      
A WebTV Tag:
Use the maxlines attribute to set the maximum number of lines to display in the cell. There is no default value for maxlines. The attribute is ignored if it isn't specified. Note that content that doesn't fit in the cell isn't visible.
nowrap=
deprecated
W3C HTML 4.0
w3c icon + 2.0 3.0 3.2 4.0?
MSIE icon 1.0 2.0 3.0 4.0  
Opera 1.0 2.1 3.0    
WebTV 0.9 1.2      
"The NOWRAP attribute is used when you don't want the browser to automatically wrap lines. You can then explicitly specify line breaks in paragraphs using the BR element." (w3)

Please note, that although W3C may have deprecated this attribute, WebTV may continue to support it, simply because of the difference in technology. Consider your audience and their equipment before discounting this attribute.

rowspan=
w3c icon + 2.0 3.0 3.2 4.0
MSIE icon 1.0 2.0 3.0 4.0  
WebTV 0.9 1.2      
specifies the number of rows spanned by the cell.
style=
w3c icon + 2.0 3.0 3.2 4.0
Netscape icon 1.0 2.0 3.0 4.0  
WebTV 0.9 1.2      
title=
w3c icon + 2.0 3.0 3.2 4.0
transparency=
WebTV 0.9 1.2      
A WebTV tag:
With version 1.1 of the WebTV interface, use the transparency attribute for the background color for cells in a row. The value for the transparency attribute can rangefrom 0 (fully opaque) to 100 (fully transparent). The default value for transparency is 0. Note that the WebTV interface has implemented optimizations for a transparency value of 50 that make pages draw faster.
valign=
w3c icon + 2.0 3.0 3.2 4.0
MSIE icon 1.0 2.0 3.0 4.0  
Opera 1.0 2.1 3.0    
WebTV 0.9 1.2      
specifes that the text can be top or bottom aligned. The default is center aligned. (IExplorer)
baseline
w3c icon + 2.0 3.0 3.2 4.0
MSIE icon 1.0 2.0 3.0 4.0  
WebTV 0.9 1.2      
This is used when you want to ensure that all cells in the row share the same baseline. This constraint only applies to the first text line for each cell.
bottom
w3c icon + 2.0 3.0 3.2 4.0
MSIE icon 1.0 2.0 3.0 4.0  
Opera 1.0 2.1 3.0    
WebTV 0.9 1.2      
causes the caption to be drawn below the table or figure.
center
WebTV 0.9        
cell contents are centered vertically in each cell.
middle
w3c icon + 2.0 3.0 3.2 4.0
MSIE icon 1.0 2.0 3.0 4.0  
Opera 1.0 2.1 3.0    
WebTV 0.9 1.2      
cell contents are centered vertically in each cell.
top
w3c icon + 2.0 3.0 3.2 4.0
MSIE icon 1.0 2.0 3.0 4.0  
Opera 1.0 2.1 3.0    
WebTV 0.9 1.2      
causes the caption to be drawn above the table or figure.
width=
w3c icon + 2.0 3.0 3.2 4.0?
MSIE icon 1.0 2.0 3.0 4.0  
Opera 1.0 2.1 3.0    
WebTV 0.9 1.2      
This specifies the width of the cell according to the UNITS attribute. If units="relative," the width is taken as a percentage of the width between the current left and right margins. The user agent should disregard this attribute if it would result in columns having less than their minimum widths. (w3)