Home  »  HTML   »   th

Creates a header cell for the table. It differs a little bit from the normal table data cell.

abbr

represents a short abbreviation of the content of the cell.

  • text
colspan

represents how many columns a cell should extend

  • number
rowspan

represents how many rows a cell should extend

  • number
headers

represents one or more header cells a cell relate to

  • header_id
scope

represents whether the header cell is the header of a particular row, column, or group of rows and columns.

  • col - the cell is a header for a column
  • row - the cell is a header for a row
  • colgroup - the cell is a header for a group of columns
  • rowgroup - the cell is a header for a group of rows

HTML th Example:
Edit Example