A simple HTML table, containing two columns and two rows:
The <td> tag defines a standard cell in an HTML table.
An HTML table has two kinds of cells:
The text in a th element is bold and centered.
The text in a td element is regular and left-aligned.
The <td> tag is supported in all major browsers.
Hint: Use the colspan and rowspan attributes to let the content span over multiple columns
DTD indicates in which HTML 4.01/XHTML 1.0 DTD the
attribute is allowed. S=Strict, T=Transitional, and F=Frameset.
The <td> tag supports the following standard attributes:
More information about Standard Attributes.
The <td> tag supports the following event attributes:
More information about Event Attributes.
HTML tables with different borders.
Tags inside a tableHow
to display elements inside other elements.
that span more than one row/columnHow to define table cells that span more than one row
or one column.
CellpaddingHow to use
cellpadding to create more white space between the cell content and its borders.
CellspacingHow to use
cellspacing to increase the distance between the cells.
The Frame 1ttributeHow to
use the "frame" attribute to control the borders around the table.
Your Query was successfully sent!