Тег TH
TH
<TH
ALIGN=CENTER | LEFT | RIGHT
BACKGROUND=string
BGCOLOR=color
BORDERCOLOR=color
BORDERCOLORDARK=color
BORDERCOLORLIGHT=color
COLSPAN=string
CLASS=string
ID=string
LANG=string
LANGUAGE=JAVASCRIPT
| JSCRIPT | VBS | VBSCRIPT
NOWRAP
ROWSPAN=string
STYLE=string
TITLE=string
VALIGN=BASELINE
| BOTTOM | MIDDLE | TOP
event = script
>
Specifies a header column. Header columns are centered within the cell and
are bold.
- ALIGN=
- Displays the element left flush, right flush, or centered relative to the
display or table.
- BACKGROUND=
- Specifies a background picture for the table. The picture is tiled behind
the text and graphics in the table, table head, or table cell.
- BGCOLOR=
- Sets the background color behind the element.
- BORDERCOLOR=
- Sets border color and must be used with the BORDER= attribute, except for frames.
- BORDERCOLORDARK=
- Sets independent border color control over one of the two colors used to
draw a 3-D border, opposite of BORDERCOLORLIGHT= ,
and must be used with the BORDER= attribute.
- BORDERCOLORLIGHT=
- Sets independent border color control over one of the two colors used to
draw a 3-D border, opposite of BORDERCOLORDARK= , and
must be used with the BORDER= attribute.
- COLSPAN=
- Specifies how many columns in the TABLE this cell
should span.
- CLASS=
- Specifies the class of the tag being defined. This is most often used to
associated a sub-classed style sheet with the tag.
- ID=
- An SGML identifier used as the target for hypertext links or for naming
particular elements in associated style sheets. Valid names to script with are
any alphanumeric string that begins with a letter. Valid special characters
include underbar "_".
- LANG=
- This specifies the language to use. The specifier is an ISO standard
language abbreviation.
- LANGUAGE=
- Specifies the language that the current script is written in. JavaScript is
the default for this attribute.
- NOWRAP
- The NOWRAP attribute is used when you do not want the browser to
automatically perform word wrap.
- ROWSPAN=
- Specifies how many rows in a TABLE this cell
should span.
- STYLE=
- Specifies an in-line style sheet for the tag.
- TITLE=
- The Title attribute is used to provide advisory information.
- VALIGN=
- Displays the elements aligned at the top or bottom within the element.
- event
- Can be one or more of these events:
onclick ondblclick
onhelp onkeydown
onkeypress onkeyup
onmousedown onmousemove
onmouseout onmouseover
onmouseup
onselectstart
This element is a block element.