HTML Table td Meaning

Last Updated On Sunday 17th Oct 2021

td stand for

Definition and Usage

It stands for Table Data.The <td> tag defines a standard data cell in an HTML table.

What does td mean

An HTML table has two kinds of cells

  • Header cells – contains header information (created with the <th> element)
  • Data cells – contains data (created with the <td> element).
  • The text in <td> elements are regular and left-aligned by default.

td meaning

The text in <th> elements are bold and centered by default.

Global Attributes

The <td> tag also supports the Global Attributes in HTML.

Event Attributes

The <td> tag also supports the Event Attributes in HTML.

td full form in html

How to align content inside <td> (with CSS)

	<table style="width:100%">
  <tr>
    <th>MobilePhone</th>
    <th>Price</th>
  </tr>
  <tr>
    <td>Samsung</td>
    <td style="text-align:right">$100</td>
  </tr>
  <tr>
    <td>OnePlus</td>
    <td style="text-align:right">$80</td>
  </tr>
</table>