Dynamicdeezign, documentation of html and css
The guide to create your Web site on Internet
 

<th> : table header cell
The TH element defines a cell that contains header information. User agents have two pieces of header information available: the contents of the TH element and the value of the abbr attribute. User agents must render either the contents of the cell or the value of the abbr attribute. For visual media, the latter may be appropriate when there is insufficient space to render the full contents of the cell. For non-visual media abbr may be used as an abbreviation for table headers when these are rendered along with the contents of the cells to which they apply.
Attributes
-) headers
This attribute specifies the list of header cells that provide header information for the current data cell. The value of this attribute is a space-separated list of cell names; those cells must be named by setting their id attribute. Authors generally use the headers attribute to help non-visual user agents render header information about data cells (e.g., header information is spoken prior to the cell data), but the attribute may also be used in conjunction with style sheets. See also the scope attribute.

-) scope
This attribute specifies the set of data cells for which the current header cell provides header information. This attribute may be used in place of the headers attribute, particularly for simple tables. When specified, this attribute must have one of the following values:
row: The current cell provides header information for the rest of the row that contains it (see also the section on table directionality).
col: The current cell provides header information for the rest of the column that contains it.
rowgroup: The header cell provides header information for the rest of the row group that contains it.
colgroup: The header cell provides header information for the rest of the column group that contains it.
-) abbr
This attribute should be used to provide an abbreviated form of the cell's content, and may be rendered by user agents when appropriate in place of the cell's content. Abbreviated names should be short since user agents may render them repeatedly. For instance, speech synthesizers may render the abbreviated headers relating to a particular cell before rendering that cell's content.
-) axis
This attribute may be used to place a cell into conceptual categories that can be considered to form axes in an n-dimensional space. User agents may give users access to these categories (e.g., the user may query the user agent for all cells that belong to certain categories, the user agent may present a table in the form of a table of contents, etc.). Please consult the section on categorizing cells for more information. The value of this attribute is a comma-separated list of category names.
-) rowspan
This attribute specifies the number of rows spanned by the current cell. The default value of this attribute is one ("1"). The value zero ("0") means that the cell spans all rows from the current row to the last row of the table section (THEAD, TBODY, or TFOOT) in which the cell is defined.
-) colspan
This attribute specifies the number of columns spanned by the current cell. The default value of this attribute is one ("1"). The value zero ("0") means that the cell spans all columns from the current column to the last column of the column group (COLGROUP) in which the cell is defined.
-) nowrap
Deprecated. When present, this boolean attribute tells visual user agents to disable automatic text wrapping for this cell. Style sheets should be used instead of this attribute to achieve wrapping effects. Note. if used carelessly, this attribute may result in excessively wide cells.
-) width
Deprecated. This attribute supplies user agents with a recommended cell width.
-) height
Deprecated. This attribute supplies user agents with a recommended cell height.
Attributes defined elsewhere
-) id, class (document-wide identifiers)
-) lang (language information), dir (text direction)
-) title (element title)
-) style (inline style information )
-) onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup (intrinsic events )
-) bgcolor (background color)
-) align, char, charoff, valign (cell alignment)


Example


<table width="50%">
<tr>
    <th>header 1</th>
    <th>header 2</th>
<tr>
    <td>col 11</td>
    <td>col 12</td>
<tr>
    <td>col 21</td>
    <td>col 22</td>
</table>


Gives

header 1 header 2
col 11 col 12
col 21 col 22







For complete reference see html reference at W3C
Ordinateur portable
Adaptateur
Batterie
Divers
Sacoche
Serveurs & Terminaux
Enceintes
Micro
Micro-Casque
Moniteur CRT
Moniteur LCD , TFT
Scanner
Webcam
Bac Alimentation
Divers
Mémoire
Imprimante Jet d'encre
Imprimante Laser