Difference between revisions of "Th (HTML element)"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
 
(One intermediate revision 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:
+
An [[HTML table]] has two kinds of cells:
  
 
* '''th''' element: header cell, contains header information  
 
* '''th''' element: header cell, contains header information  
Line 16: Line 16:
 
* [[HTML]]
 
* [[HTML]]
 
* [[HTML elements]]
 
* [[HTML elements]]
 +
* [[table (HTML element)]]
 
* [[Tables (HTML)]]
 
* [[Tables (HTML)]]
* [[Td (HTML element)]]
+
* [[td (HTML element)]]
  
 
== External links ==
 
== External links ==

Latest revision as of 07: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