| A | B |
| Each table starts with a table tag. | Each table starts with a table tag. |
| Each table row starts with a tr tag. | Each table row starts with a tr tag. |
| Each table data starts with a td tag. | Each table data starts with a td tag. |
| Table Borders | <table border="1">thin<table border="8">heavy |
| Tables | Tables are defined with the <table> tag. A table is divided into rows (with the <tr> tag), and each row is divided into data cells (with the <td> tag). The letters td stands for "table data," which is the content of a data cell. |
| Data Cells | A data cell can contain text, images, lists, paragraphs, forms, horizontal rules, tables, etc. |
| Tables and the Border Attribute | If you do not specify a border attribute the table will be displayed without any borders. Sometimes this can be useful, but most of the time, you want the borders to show. |
| Headings in a Table | Headings in a table are defined with the <th> tag. |
| Empty Cells in a Table | Cells with no content are not displayed very well in most browsers. |
| Basic Notes - Useful Tips | The <thead>,<tbody> and <tfoot> elements are seldom used, because of bad browser support. |