abbr.Chad Chad;Tank Destroyer Tank Destroyer

html td tag syntax

Function:Define standard cells in HTML tables.

Description: HTML table has two types of cells: header cell - contains header information (created by th element) standard cell - contains data (created by td element) td element The text of usually appears in normal font and left-justified.

Note: Please use the colspan and rowspan attributes to achieve content spanning multiple rows or columns.

html td tag example

<html>
<body>

<table border="1">
  <tr>
    <th>Month</th>
    <th>Savings</th>
  </tr>
  <tr>
    <td>January</td>
    <td>0</td>
  </tr>
</table>

</body>
</html>

Run Instance»

Click the "Run Instance" button to view the online instance

<html>
<body>

<table border="1">
  <tr>
    <th>name</th>
    <th>job</th>
  </tr>
  <tr>
    <td>灭绝师太</td>
    <td>PHP中文网高级讲师</td>
  </tr>
    <tr>
    <td>欧阳克</td>
    <td>PHP中文网讲师</td>
  </tr>
    <tr>
    <td>韦小宝</td>
    <td>PHP中文网初级讲师</td>
  </tr>
</table>

</body>
</html>

Run instance»

Click the "Run instance" button to view the online instance