Table Content
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>
Type | Attribute List |
'Standard' Attributes | "abbr", "colspan", "headers", "rowspan", and "scope" |
New HTML5 Attributes | "writingsuggestions" |
Obsolete Attributes | "align", "axis", "background", "bgcolor", "char", "charoff", "height", "nowrap", "valign", and "width" |
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 https://www.w3.org/TR/WCAG20-TECHS/H51 for more information.
Search Engine Links (for more information)