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 OverflowW3Schools
w3schools.com โบ tags โบ tag_td.asp
HTML td tag
The <td> tag defines a standard data cell in an HTML table.
MDN Web Docs
developer.mozilla.org โบ en-US โบ docs โบ Web โบ HTML โบ Reference โบ Elements โบ td
<td> HTML table data cell element - HTML | MDN
2 weeks ago - The <td> HTML element defines a cell of a table that contains data and may be used as a child of the <tr> element.
Videos
03:22
How to create HTML Tables Table tags Table Row TR TD Table HTML ...
05:53
HTML: table, tr, td - YouTube
01:00
HTML td Tag Attributes | HTML Tables | #html #shorts 23 ๐ - YouTube
How the td tag works in HTML
18:15
TABELAS EM HTML5 TAG TABLE THEAD TR TD CURSO DE HTML5 - YouTube
HTML Table Tags Explained in 10 Minutes | Complete ...
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.
Educative
educative.io โบ answers โบ what-is-the-td-element-in-html
What is the <td> element in HTML?
The <td> tag stands for table data.
DotFactory
dofactory.com โบ html โบ td
HTML td Tag
The <td> tag adds a table cell to an HTML table.
Quackit
quackit.com โบ html โบ tags โบ html_td_tag.cfm
HTML <td> Tag
The HTML <td> tag represents a data cell (or table data) in an HTML table.
Lenovo
lenovo.com โบ home
Master HTML <td> Tag: Table Data Essentials | Lenovo US
tag supports the rowspan and colspan attributes, enabling efficient structuring of data in tables. This feature is vital for optimizing content presentation on laptop and desktop screens, ensuring a seamless and organized display.
Mimo
mimo.org โบ glossary โบ html โบ td-tag
HTML <td> Tag: Syntax, Usage, and Examples
January 11, 2026 - The <td> tag is the standard way to represent table data in HTML.
DotFactory
dofactory.com โบ html โบ td โบ style
HTML td style
<style> table.tb { width:300px; border-collapse: collapse; } .tb th, .tb td { border: solid 1px #777; padding: 5px; } .tb th { background: #3630a3; color:white; } </style> <table class="tb"> <tr> <th>First name</th> <th>Last name</th> </tr> <tr> <td style="background: #f6f8ff;">Denice</td> <td style="background: #f6f8ff;">Hobermann</td> </tr> <tr> <td style="background: #f6f8ff;">Paulo</td> <td style="background: #f6f8ff;">Cornell</td> </tr> </table> Try it live
TD SYNNEX
tdsynnex.com โบ na โบ us โบ en โบ partnerfirst.html
TD SYNNEX PartnerFirst
My business dashboard Gain a complete view of your business with TD SYNNEX, leveraging rich insights and business management dashboards, all on one page.
Codecademy
codecademy.com โบ forum_questions โบ 560d243995e3784621000404
How in the world does the <td> tag works | Codecademy
tag work? 2 votes ยท Permalink ยท HTML data tables consist of nested structural elements. all of which are containers. The main container is, <table></table> Next is the row container, <tr></tr> Then we get to the columns, which are formed by table data cells, <th></th><td></td> None of the above have dimensions but they can be expanded to whatever size is needed to fit the data.
BFO
bfo.com โบ products โบ report โบ docs โบ tags โบ tags โบ td.html
td
<table> <tr> <th rowspan="2">First column, both rows</th> <td>Second column, first row</td> </tr> <tr> <td>Second column, second row</td> </tr> </table>
Quora
quora.com โบ What-is-td-tag-in-HTML
What is td tag in HTML? - Quora
The <tr> element defines a table row, the <th> element defines a table header, and the <td> element defines a table cell in HTML. ... Know when your data is exposed. NordProtect alerts you when leaked passwords appear on the dark web.
Top answer 1 of 2
3
The element inside the <td> tag is a text node. You can't address it in CSS. If you want to style it, you either have to style the <td> tag or surround the text you want to style with a <span> element.
So to, e.g., style only the Hello:
<table>
<tr>
<td><span>Hello<span> StackOverFlow</td>
</tr>
</table>
And in your CSS
span { font-weight: bold; }
Or whatever style you want to give it.
See also the answer to this related question.
2 of 2
3
Want to check the type of Hello Stackoverflow? Simpy check the td's content's nodeType
//Gave your td an id of 'td'
alert($('#td').contents().get(0).nodeType);
This will return 3. A nodeType of 3 means it is a text.
Here is an image of each nodeType:

w3schools on nodeType
Scaler
scaler.com โบ home โบ topics โบ td tag in html
<td> tag in html - Scaler Topics
May 4, 2023 - An individual data item can be displayed with the <td> element. In HTML, tables are used to organize/structure the data into rows or columns. Tables are made up of table cells arranged in rows and columns. ... In the above example we have created a simple table by using the table tag.