HTML Tables
HTML Tables
new?
Information Sheet 7.6
HTML TABLES
HTML tables allow web developers to arrange data into rows and columns.
The <table> tag defines an HTML table. Each table row is defined with a <tr>
tag. Each table header is defined with a <th> tag. Each table data/cell is defined with
a <td> tag. By default, the text in <th> elements are bold and centered. By default,
the text in <td> elements are regular and left-aligned.
The <td> elements are the data containers of the table. They can contain all
sorts of HTML elements; text, images, lists, other tables, etc.
Example Code: Expected Output on the Browser
Table Parts
1
Page
2
Page
4
Page