Difference between revisions of "Th (HTML element)"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) |
Karl Jones (Talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | In [[HTML]] the '''th''' element represents a cell as a header for a group of cells of an [[HTML table]]. | + | {{lowercase}}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. | The group of cells that the header refers to is defined by the scope and headers attribute. | ||
Line 5: | Line 5: | ||
== Description == | == 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 (HTML element)|td element]]''': standard cells, contains data | ||
+ | ** Text in '''td''' elements are regular and left-aligned by default | ||
== See also == | == See also == | ||
Line 10: | Line 16: | ||
* [[HTML]] | * [[HTML]] | ||
* [[HTML elements]] | * [[HTML elements]] | ||
+ | * [[table (HTML element)]] | ||
* [[Tables (HTML)]] | * [[Tables (HTML)]] | ||
+ | * [[td (HTML element)]] | ||
== External links == | == External links == |
Latest revision as of 06:49, 21 September 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