The "th" Element

The "th" element represents a header cell in a table. For a data cell, use the "td" element. Place table cells like "td" and "th" in rows using a "tr" element for each table row.

Attributes for "th"
TypeAttribute List
'Standard' Attributes"abbr", "amp-access", "amp-access-hide", "colspan", "fallback", "headers", "placeholder", "rowspan", and "scope"
Obsolete Attributes"width", "valign", "nowrap", "height", "charoff", "char", "bgcolor", "background", "axis", and "align"

Recommended Links

Accessibility Information & Tips

  • Use the "table" element and other table elements ("tr", "th", "td", etc.) to present tabular information. This preserves data relationships even when users cannot see the table or the presentation format is changed. Do not use tabs or spacing to create visual presentations of columns. Visit for more information.

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem