td

< html‎ | elements
Jump to: navigation, search

td

This article is Not Ready.



Summary

Defines a standard Cell in an HTML table.


Overview Table

DOM Interface HTMLTableDataCellElement


Compatibility

Do you think this data can be improved? You can ask to add by opening an issue or make a pull request.

Desktop

FeaturesChromeFirefoxInternet ExplorerOperaSafari
Basic support
1.0
Yes
1.0
Yes
?
Yes
?
Yes
?
Yes
align/valign attribute
1.0
Yes
?
none
?
Yes
?
Yes
?
Yes
char/charoff attribute
1.0
Yes
?
none
?
Yes
?
Yes
?
Yes
bgcolor attribute
?
none
?
none
?
Yes
?
none
?
none
colspan attribute with value 0 (extend to the end of the colgroup)
?
none
?
Yes
?
none
?
none
?
none

Mobile

FeaturesAndroidFirefox MobileIE MobileOpera MobileSafari Mobile
Basic support
?
Yes
1.0
Yes
?
Yes
?
Yes
?
Yes
align/valign attribute
?
Unknown
?
none
?
Unknown
?
Unknown
?
Unknown
char/charoff attribute
?
Unknown
?
none
?
Unknown
?
Unknown
?
Unknown
bgcolor attribute
?
none
?
none
?
Yes
?
none
?
none

Examples

This example uses the table element with tr and td to create a table with three rows and two columns.

HTML

<table border="1" width="80%">
  <tbody>
    <tr>
      <td>Row 1, Column 1 text.</td>
      <td>Row 1, Column 2 text.</td>
    </tr>
    <tr>
      <td>Row 2, Column 1 text.</td>
      <td>Row 2, Column 2 text.</td>
    </tr>
  </tbody>
</table>




See also

Related articles

HTML


















































… further results

Tables











  • td