spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

C/C++ Developer (NYC)
Next Step Systems
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
Developer News
Eclipse Helios Update Brings New PHP Tools
Internet Explorer 9 Ups Standards Support
JBoss Portal 5 Release Easier to Use


HTML 4.01 Element Reference

By Lee Underwood

Return to HTML 4.01 element index page

Name: Table Header Cell

<th> ... <th> (opt.)

Description: Used to define a header row within a table.

Browser Compatibility: NN: 1.1+ / IE: 2.0+ / Opera: 4+

Attributes:
  • abbr
  • align
  • bgcolor*
  • char
  • charoff
  • class
  • dir
  • height
  • id
  • lang
  • onclick
  • ondblclick
  • onkeydown
  • onkeypress
  • onkeyup
  • onmousedown
  • onmousemove
  • onmouseout
  • onmouseover
  • onmouseup
  • style
  • title
  • valign
  • width*

* Deprecated

Code Example:

<table>
  <tr>
    <th> ... </th>
    <th> ... </th>
    <th> ... </th>
  </tr>
  <tr>
    <td> ... </td>
    <td> ... </td>
    <td> ... </td>
  </tr>
</table>

Comments: The <th> element is identical to the <td> element except that the text within the <th> element is usually rendered with a bold font and centered within the cell.

XHTML Notes: The closing </th> element is required.




webref The latest from WebReference.com Browse >
Flashmaps' DynamicLocator: Interactive Maps for Small Areas · Flashmaps' AreaSelector: Interactive Maps for Wide Areas · The DB Mapper: Interactive Street-level Maps of U.S. and Canada
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
MS Access and MySQL · Cisco AutoQoS: VoIP QoS for Mere Mortals · While VoIP Adoption Explodes in Enterprise, Carrier Spending Lags

Created: March 15, 2005

URL: http://webreference.com/html/reference/specs/