Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does html call it 'td' and not 'tc' for table cell?

Tags:

html

I haven't browsed through the spec, though I doubt any info is in there. Does it stand for table data?

like image 448
iyerrag Avatar asked Apr 29 '09 14:04

iyerrag


People also ask

Is there any TC tag in HTML?

This element specifies a single cell in a table row, which contains the table's content. Table cells in WordprocessingML are analogous to HTML td elements. A <tc> element has one formatting child element, <tcPr (> §2.4.

What does TD stand for in HTML table?

The TH and TD elements are used for table cells. TH is used for table header cells while TD is used for table data cells.

Why is TD tag used in HTML?

When writing in HTML, the <td> tag is used to designate a cell (table data) within a table containing data. The information contained in this element is left-aligned by default.

What is TD and TR HTML?

The HTML <td> element is found in an HTML table within the <body> tag. The <td> tag defines the standard cells in the table which are displayed as normal-weight, left-aligned text. The <tr> tag defines the table rows.


1 Answers

You have two options for table cells: TD or TH.

TH = Table Header

TD = Table Data.

Both are table cells.

like image 177
Joe Avatar answered Sep 19 '22 23:09

Joe