You have two options for table cells: TD or TH.
TH = Table Header
TD = Table Data.
Both are table cells.
Answer from Joe on Stack OverflowMDN Web Docs
developer.mozilla.org › en-US › docs › Web › HTML › Reference › Elements › td
<td>: The Table Data Cell element - HTML - MDN Web Docs
The <td> HTML element defines a cell of a table that contains data and may be used as a child of the <tr> element.
W3Schools
w3schools.com › tags › tag_td.asp
HTML td tag
The <td> tag defines a standard data cell in an HTML table.
Videos
05:53
HTML: table, tr, td - YouTube
01:00
HTML td Tag Attributes | HTML Tables | #html #shorts 23 🚀 - YouTube
06:34
HTML tutorial for beginners in English #22| HTML Table - Table, ...
03:22
How to create HTML Tables Table tags Table Row TR TD Table HTML ...
10:13
⭐TABLAS en HTML 🖥️ tr, td, th y más | CURSO GRATIS HTML ...
How the td tag works in HTML
Tutorialspoint
tutorialspoint.com › html › html_td_tag.htm
HTML - <td> Tag
The HTML <td> tag is used to define the table data in a table. It is the key component in building structured tabular content. The <td> tag must be used within a <tr> element, which groups one or more table cells.
TechOnTheNet
techonthenet.com › html › elements › td_tag.php
HTML: <td> tag
This HTML tutorial explains how to use the HTML element called the td tag with syntax and examples. The HTML td tag defines a standard cell in an HTML table (also called td element).
W3Schools
w3schools.com › html › html_tables.asp
HTML Tables
A table in HTML consists of table cells inside rows and columns. ... <table> <tr> <th>Company</th> <th>Contact</th> <th>Country</th> </tr> <tr> <td>Alfreds Futterkiste</td> <td>Maria Anders</td> <td>Germany</td> </tr> <tr> <td>Centro comercial Moctezuma</td> <td>Francisco Chang</td> <td>Mexico</td> </tr> </table> Try it Yourself »
DotFactory
dofactory.com › html › td › style
HTML td style
In HTML, the style attribute on a td element assigns a unique style to that element.
Plotly
dash.plotly.com › dash-html-components › td
html.Td - Dash for Python Documentation
A Td component. Td is a wrapper for the <td> HTML5 element.
W3C
w3.org › MarkUp › html3 › tablecells.html
Table Cells (TH and TD)
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. This distinction gives user agents a means to render such cells distinctly, for instance by using a larger or heavier font for header cells.
Mimo
mimo.org › glossary › html › td-tag
HTML <td> Tag: Syntax, Usage, and Examples
January 11, 2026 - The <td> tag defines a data cell inside an HTML table.
W3C
w3.org › TR › 2010 › WD-html-markup-20100624 › td.html
HTML5: td – table cell
The td element represents a data cell in a table.
Reddit
reddit.com › r/html › is there a functional difference between and ?
r/HTML on Reddit: Is there a functional difference between <th> and <td>?
July 21, 2024 -
Title.
I'm just coding for fun so I don't really care for accessibility.
Top answer 1 of 5
6
- table heading - used to provide headings for columns and rows.
- table data - used to hold the data values of individual cells. The two elements get slightly different default visual styles, usually making text content bold in
. It really doesn't matter if you care about accessibility - your potential site visitors frequently do care. Might as well do things properly from day one, IMO.
2 of 5
4
By default, your browser will make the bold and centered. If it's just for your own fun, it doesn't make any difference which one you use. Accept the fact that you can style your
differently than
in CSS without using things like tr:first-child td. But personally, I think it's best to keep the semantics correct, even when just fiddling around. You'll learn more, and learn to do it the right way.
Lenovo
lenovo.com › home
Master HTML <td> Tag: Table Data Essentials | Lenovo US
Elevate your table layouts using the HTML tag. Learn the tricks that make your data stand out.
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › HTML › Reference › Elements › table
<table>: The Table element - HTML - MDN Web Docs - Mozilla
The <table> HTML element represents tabular data—that is, information presented in a two-dimensional table comprised of rows and columns of cells containing data. <table> <caption> Front-end web developer course 2021 </caption> <thead> <tr> <th scope="col">Person</th> <th scope="col">Most ...
W3C
w3.org › TR › html401 › struct › tables.html
Tables in HTML documents
<!ELEMENT (TH|TD) - O (%flow;)* -- table header cell, table data cell--> <!-- Scope is simpler than headers attribute for common tables --> <!ENTITY % Scope "(row|col|rowgroup|colgroup)"> <!-- TH is for headers, TD for data, but for cells acting as both use TD --> <!ATTLIST (TH|TD) -- header or data cell -- %attrs; -- %coreattrs, %i18n, %events -- abbr %Text; #IMPLIED -- abbreviation for header cell -- axis CDATA #IMPLIED -- comma-separated list of related headers-- headers IDREFS #IMPLIED -- list of id's for header cells -- scope %Scope; #IMPLIED -- scope covered by header cells -- rowspan NUMBER 1 -- number of rows spanned by cell -- colspan NUMBER 1 -- number of cols spanned by cell -- �llhalign; -- horizontal alignment in cells -- �llvalign; -- vertical alignment in cells -- >
HTML Standard
html.spec.whatwg.org › multipage › tables.html
HTML Standard
The thead element represents the block of rows that consist of the column labels (headers) and any ancillary non-header cells for the parent table element, if the thead element has a parent and it is a table. The thead element takes part in the table model. This example shows a thead element ...