The basic structure of an HTML table consists of the following tags:
The following table is an example of a basic table with three rows and two columns of data.
The code that generated this table look like this:
Example explained:
Tables are defined with the <table> tag.
Tables are divided into table rows with the <tr> tag.
A table row can also be divided into table headings with the <th> tag.
Table rows are divided into table data with the <td> tag.