HTML4 HTML5
The <tbody> tag defines table body content[cite: 3]. Combined with <thead> and <tfoot>, it forms main table structure: header, body, and footer[cite: 3].
Opening and closing tags are optional[cite: 3].
align="..." - (left, right, center, justify, char) specifies text alignment in rows inside <tbody>[cite: 3]. Not present in HTML5[cite: 3].
char="..." - specifies character alignment point for table body cells[cite: 3]. Not present in HTML5[cite: 3].
charoff="..." - character offset for alignment point[cite: 3]. Not present in HTML5[cite: 3].
valign="..." - (top, middle, bottom, baseline) vertical alignment of cell contents[cite: 3]. Not present in HTML5[cite: 3].
Code:
The browser will interpret this code as follows:
| Year | Income |
|---|---|
| 2000 | $25,000 |
| 2010 | $69,000 |
| Total | $94,000 |