Difference between revisions of "Th (HTML element)"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) |
Karl Jones (Talk | contribs) (→Description) |
||
Line 5: | Line 5: | ||
== Description == | == Description == | ||
− | An HTML table has two kinds of cells: | + | An [[HTML table]] has two kinds of cells: |
* '''th''' element: header cell, contains header information | * '''th''' element: header cell, contains header information |
Revision as of 06:01, 23 May 2016
In HTML the th element represents a cell as a header for a group of cells of an HTML table.
The group of cells that the header refers to is defined by the scope and headers attribute.
Description
An HTML table has two kinds of cells:
- th element: header cell, contains header information
- Text in th elements are bold and centered by default
- td element: standard cells, contains data
- Text in td elements are regular and left-aligned by default
See also
External links
- th element @ developers.mozilla.org
- th element @ w3schools.com