A simple HTML table, containing two columns and two rows:
The <tr> tag defines a row in an HTML table.
A tr element contains one or more th or td
The <tr> tag is supported in all major browsers.
DTD indicates in which HTML 4.01/XHTML 1.0 DTD the
attribute is allowed. S=Strict, T=Transitional, and F=Frameset.
The <tr> tag supports the following standard attributes:
More information about Standard Attributes.
The <tr> tag supports the following event attributes:
More information about Event Attributes.
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!