You are here : htmlHTML 5td

<td> - HTML 5

The <td> tag defines a standard cell in an HTML table.

An HTML table has two kinds of cells:

  • Header cells - contains header information (created with the <th> element)
  • Standard cells - contains data (created with the <td> element)

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

The text in <td> elements are regular and left-aligned by default.


Syntax

    <table>	 	<tr>	   	<td>Cell A</td>	   	<td>Cell B</td>	 	</tr>	</table>


Example

    <table>	 	<tr>	   	<td>Cell A</td>	   	<td>Cell B</td>	 	</tr>	</table>


Output / Return Value


Limitations


Alternatives / See Also


Reference