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
- Data cells – contains data (created with the
- The text in
<td>elements are regular and left-aligned by default.
The text in
<th> elements are bold and centered by default.
<td> tag also supports the Global Attributes in HTML.
<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>