A simple HTML table, with two table cells:
![]()
The <td> tag is supported in all major browsers.
The <td> tag defines a standard cell in an HTML table.
An HTML table has two kinds of cells:
The text in <th> elements are bold and centered by default.
The text in <td> elements are regular and left-aligned by default.
Some HTML 4.01 attributes are not supported in HTML5.
Note: The <td> element is not allowed in the <thead> element.
| Attribute | Value | Description |
|---|---|---|
| abbr | text | Not supported in HTML5 |
| align | left right center justify char |
Not supported in HTML5 |
| axis | category_name | Not supported in HTML5 |
| char | character | Not supported in HTML5 |
| charoff | number | Not supported in HTML5 |
| colspan | number | Specifies the number of columns a cell should span |
| headers | header_id | Specifies one or more header cells a cell is related to |
| height | pixels % |
Not supported in HTML5 |
| nowrap | nowrap | Not supported in HTML5 |
| rowspan | number | Specifies the number of rows a cell should span |
| scope | col colgroup row rowgroup |
Not supported in HTML5 |
| valign | top middle bottom baseline |
Not supported in HTML5 |
| width | pixels % |
Not supported in HTML5 |
The <td> tag also supports the Global Attributes in HTML5.
The <td> tag also supports the Event Attributes in HTML5.
| WEB HOSTING |
|---|
| Best Web Hosting |
| PHP MySQL Hosting |
| Best Hosting Coupons |
| UK Reseller Hosting |
| Cloud Hosting |
| Top Web Hosting |
| $3.98 Unlimited Hosting |
| Premium Website Design |
| WEB BUILDING |
|---|
| XML Editor - Free Trial! |
| FREE Website BUILDER |
| Best Website Templates Top CSS Templates |
| CREATE HTML Websites |
| EASY WEBSITE BUILDER |
| W3SCHOOLS EXAMS |
|---|
|
Get Certified in: HTML, CSS, JavaScript, XML, PHP, and ASP |
| W3SCHOOLS BOOKS |
|---|
|
New Books: HTML, CSS JavaScript, and Ajax |
| STATISTICS |
|---|
|
Browser Statistics Browser OS Browser Display |
| SHARE THIS PAGE |
|---|