Tag | Explanation | Mode | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<TABLE> ... </TABLE> | Defines a table. The table element can contain (in this order): | Strict | ||||||||||||||||||||
Attribute | Explanation | Mode | ||||||||||||||||||||
ALIGN=LEFT ALIGN=CENTER ALIGN=RIGHT | Specifies the location where to render the table in the window. Default is left aligned. | Strict | ||||||||||||||||||||
BACKGROUND="url" | Specifies a background image. The image is tiled across all cells in the table. | Tolerant (NS) | ||||||||||||||||||||
BGCOLOR=#rrggbb BGCOLOR=colourname | Specifies the background colour for all cells in the table. See colour specifications for a list of valid names. | Strict | ||||||||||||||||||||
FRAME="framespec" | Specifies the type of frame to put around the table. Possible values are:
| Strict | ||||||||||||||||||||
RULES="rulespec" | Specifies the type of rules to render between the cells. Possible values are:
| Strict | ||||||||||||||||||||
BORDER=nn BORDER | Specifies the thickness of the frame around the table, if a frame was
requested by the FRAME attribute.
If no FRAME attribute is given, then the presence of the BORDER attribute
implies FRAME="border", unless BORDER=0 is given. | Strict | ||||||||||||||||||||
BORDERCOLOR=#rrggbb BORDERCOLOR=colourname | Specifies the colour to render the borders in for the entire table. Borders will
be solid, not 3-D. See colour specifications for a list of valid names. | Tolerant (MS) | ||||||||||||||||||||
BORDERCOLORDARK=#rrggbb BORDERCOLORDARK=colourname BORDERCOLORLIGHT=#rrggbb BORDERCOLORLIGHT=colourname | Specifies the colours to use for the dark and light edges of the 3-D borders in the
entire table. See colour specifications for a list of valid names. | Tolerant (MS) | ||||||||||||||||||||
CELLPADDING=nn | Specifies the distance between the cell contents and the cell border, in pixels. | Strict | ||||||||||||||||||||
CELLSPACING=nn | Specifies the distance that adjacing cells should be separated, in pixels. This is including any borders. | Strict | ||||||||||||||||||||
WIDTH=nn% WIDTH=nn | Specifies the width of the table, either in a percentage of the window
width, or as a number of pixels.
Default is to make the table the minimum size for which all elements can be rendered without wrapping, but not wider than the window. | Strict |
Tag | Explanation | Mode | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
<TBODY> ... </TBODY> | Can only appear within a TABLE element Defines the body of a table. A table can contain more than one TBODY element. The TBODY element must contain one or more TR elements The end tag is optional. | Strict | ||||||||||
Attribute | Explanation | Mode | ||||||||||
ALIGN=LEFT ALIGN=CENTER ALIGN=RIGHT | Renders the text and other elements within table cells in these rows left aligned, centered within the cell width, or right aligned with the cell border. | Strict | ||||||||||
VALIGN=TOP VALIGN=MIDDLE VALIGN=BOTTOM VALIGN=BASELINE | Specifies the vertical alignment of the contents of the cells in these rows:
This attribute overrides the VALIGN attribute of the COLGROUP and COL elements. | Strict |
Tag | Explanation | Mode | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
<TD> ... </TD> | Can only appear within a TR element Defines a table cell. The end tag is optional. | Strict | ||||||||||
Attribute | Explanation | Mode | ||||||||||
ALIGN=LEFT ALIGN=CENTER ALIGN=RIGHT | Renders the text and other elements within the table cell left aligned, centered
within the cell width, or right aligned with the cell border.
This attribute overrides the ALIGN attribute of all other table elements. | Strict | ||||||||||
BACKGROUND="url" | Specifies a background image for this table cell. | Tolerant (NS) | ||||||||||
BGCOLOR=#rrggbb BGCOLOR=colourname | Specifies the background colour for this table cell. See colour specifications for a list of valid names. | Strict | ||||||||||
BORDERCOLOR=#rrggbb BORDERCOLOR=colourname | Specifies the colour to render the borders in for this table cell. Borders will
be solid, not 3-D. See colour specifications for a list of valid names. | Tolerant (MS) | ||||||||||
BORDERCOLORDARK=#rrggbb BORDERCOLORDARK=colourname BORDERCOLORLIGHT=#rrggbb BORDERCOLORLIGHT=colourname | Specifies the colours to use for the dark and light edges of the 3-D borders
for this table cell. See colour specifications for a list of valid names. | Tolerant (MS) | ||||||||||
COLSPAN=nn | This cell spans several adjacent columns. | Strict | ||||||||||
ROWSPAN=nn | This cell spans several adjacent rows. | Strict | ||||||||||
NOWRAP | Text in this cell will not word wrap. The cell will be made wide enough to show the text without wrapping. | Strict | ||||||||||
VALIGN=TOP VALIGN=MIDDLE VALIGN=BOTTOM VALIGN=BASELINE | Specifies the vertical alignment of the cell contents:
This attribute overrides the VALIGN attribute of all other table elements. | Strict | ||||||||||
WIDTH=nn% WIDTH=nn | Specifies the width of this column, either in a percentage of the table width or as a number of pixels. | Strict | ||||||||||
HEIGHT=nn% HEIGHT=nn | Specifies the height of this column, either in a percentage of the window height or as a number of pixels. | Strict |
Tag | Explanation | Mode |
---|---|---|
<TEXTAREA> ... </TEXTAREA> | Can only appear within a FORM element Defines a multi line, scrollable text entry field in a form. The text contained in this element will be the initial text displayed in the field, including line breaks. | Strict |
Attribute | Explanation | Mode |
COLS=nn | Width of the field in text columns. | Strict |
ROWS=nn | Height of the field in rows. | Strict |
NAME="name" | Gives this field a name. Fields without a name will not be included in the form data sent. | Strict |
Tag | Explanation | Mode | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
<TFOOT> ... </TFOOT> | Can only appear within a TABLE element Defines the head of a table. A table can contain at most one TFOOT element. Note that the TFOOT element must occur before the TBODY element within the table definition. The TFOOT element must contain one or more TR elements. The end tag is optional. | Strict | ||||||||||
Attribute | Explanation | Mode | ||||||||||
ALIGN=LEFT ALIGN=CENTER ALIGN=RIGHT | Renders the text and other elements within table cells in these rows left aligned, centered within the cell width, or right aligned with the cell border. | Strict | ||||||||||
VALIGN=TOP VALIGN=MIDDLE VALIGN=BOTTOM VALIGN=BASELINE | Specifies the vertical alignment of the contents of the cells in these rows:
This attribute overrides the VALIGN attribute of the COLGROUP and COL elements. | Strict |
Tag | Explanation | Mode |
---|---|---|
<TH> ... </TH> | Can only appear within a TR element Defines a table header cell. The end tag is optional. | Strict |
Attribute | Explanation | Mode |
ALIGN=LEFT ALIGN=CENTER ALIGN=RIGHT | Horizontal alignment, see TD. Default is ALIGN=CENTER. | Strict |
BACKGROUND="url" | Specifies a background image for this table cell. | Tolerant (NS) |
BGCOLOR=#rrggbb BGCOLOR=colourname | Specifies the background colour for this table cell. See colour specifications for a list of valid names. | Strict |
BORDERCOLOR=#rrggbb BORDERCOLOR=colourname | Specifies the colour to render the borders in for this table cell. Borders will
be solid, not 3-D. See colour specifications for a list of valid names. | Tolerant (MS) |
BORDERCOLORDARK=#rrggbb BORDERCOLORDARK=colourname BORDERCOLORLIGHT=#rrggbb BORDERCOLORLIGHT=colourname | Specifies the colours to use for the dark and light edges of the 3-D borders
for this table cell. See colour specifications for a list of valid names. | Tolerant (MS) |
COLSPAN=nn | This cell spans several adjacent columns. | Strict |
ROWSPAN=nn | This cell spans several adjacent rows. | Strict |
NOWRAP | Text in this cell will not word wrap. The cell will be made wide enough to show the text without wrapping. | Strict |
VALIGN=TOP VALIGN=MIDDLE VALIGN=BOTTOM VALIGN=BASELINE | Vertical alignment, see TD. Default is VALIGN=MIDDLE. | Strict |
WIDTH=nn% WIDTH=nn | Specifies the width of this column, either in a percentage of the table width or as a number of pixels. | Strict |
HEIGHT=nn% HEIGHT=nn | Specifies the height of this column, either in a percentage of the window height or as a number of pixels. | Strict |
Tag | Explanation | Mode | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
<THEAD> ... </THEAD> | Can only appear within a TABLE element Defines the head of a table. A table can contain at most one THEAD element. The THEAD element must contain one or more TR elements. The end tag is optional. | Strict | ||||||||||
Attribute | Explanation | Mode | ||||||||||
ALIGN=LEFT ALIGN=CENTER ALIGN=RIGHT | Renders the text and other elements within table cells in these rows left aligned, centered within the cell width, or right aligned with the cell border. | Strict | ||||||||||
VALIGN=TOP VALIGN=MIDDLE VALIGN=BOTTOM VALIGN=BASELINE | Specifies the vertical alignment of the contents of the cells in these rows:
This attribute overrides the VALIGN attribute of the COLGROUP and COL elements. | Strict |
Tag | Explanation | Mode |
---|---|---|
<TITLE> ... </TITLE> | Can only appear within a HEAD element Gives the document a title. Every document should have a title. | Strict |
Tag | Explanation | Mode | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
<TR> ... </TR> | Can only appear within a TABLE element Defines a table row. The end tag is optional. | Strict | ||||||||||
Attribute | Explanation | Mode | ||||||||||
ALIGN=LEFT ALIGN=CENTER ALIGN=RIGHT | Renders the text and other elements within table cells in this row left aligned,
centered within the cell width, or right aligned with the cell border.
This attribute overrides the ALIGN tag of the THEAD, TFOOT and TBODY elements. | Strict | ||||||||||
BACKGROUND="url" | Specifies a background image. The image is tiled across all cells in the table row. | Tolerant (NS) | ||||||||||
BGCOLOR=#rrggbb BGCOLOR=colourname | Specifies the background colour for all cells in the table row. See colour specifications for a list of valid names. | Strict | ||||||||||
BORDERCOLOR=#rrggbb BORDERCOLOR=colourname | Specifies the colour to render the borders in for the table row. Borders will
be solid, not 3-D. See colour specifications for a list of valid names. | Tolerant (MS) | ||||||||||
BORDERCOLORDARK=#rrggbb BORDERCOLORDARK=colourname BORDERCOLORLIGHT=#rrggbb BORDERCOLORLIGHT=colourname | Specifies the colours to use for the dark and light edges of the 3-D borders in the
table row. See colour specifications for a list of valid names. | Tolerant (MS) | ||||||||||
VALIGN=TOP VALIGN=MIDDLE VALIGN=BOTTOM VALIGN=BASELINE | Specifies the vertical alignment of the contents of the cells in this row:
This attribute overrides the VALIGN tag of the COLGROUP, COL, THEAD, TFOOT and TBODY elements. | Strict |
Tag | Explanation | Mode |
---|---|---|
<TT> ... </TT> | Renders text in a fixed width font ("teletype"). Usually it is better to use one of the logical styles (like CODE) instead of phisycal styles like TT. | Strict |
Tag | Explanation | Mode |
---|---|---|
<U> ... </U> | Renders text underscored. Usually it is better to use one of the logical styles (like STRONG) instead of phisycal styles like U. | Strict |
Tag | Explanation | Mode |
---|---|---|
<UL> ... </UL> | Defines an unordered list. Items in the list are preceded by bullets. An unordered list should contain one or more LI elements. | Strict |
Attribute | Explanation | Mode |
TYPE=CIRCLE TYPE=DISK TYPE=SQUARE | Sets the type of bullet for this list. | Strict |
DINGBAT="name" | Specifies the type of icon entity to use as a bullet in this list. | Tolerant |
SRC="url" | Specifies the source of an image to use as a bullet in this list. | Tolerant (HTML 3.0) |
PLAIN | The list items will not be preceded by bullets. | Tolerant (HTML 3.0) |
Tag | Explanation | Mode |
---|---|---|
<VAR> ... </VAR> | Specifies a variable (e.g. in formulas). Typically rendered in italics. | Strict |
Tag | Explanation | Mode |
---|---|---|
<WBR> | Specifies the location where a line break may occur within text within the NOBR element. | Tolerant (NS) |
Tag | Explanation | Mode |
---|---|---|
<LISTING> ... </LISTING> | Specifies an example text. The text is rendered in a fixed width font, exactly as it appears in the document source. No word-wrapping is done. | Strict |