HTML Tables enable you to display information in rows and columns. They're perfect for showing data like contacts, products, or statistics. Let's delve into understanding HTML tables and see a practical example.

Before we start, remember that tables must be wrapped within the '<table>' tag and rows of data must be within '<tr>' (table row). Column data, or cells, should be in '<td>' (table data) tags.

Understanding Table Structure
The basic structure of an HTML table includes four key elements: the table, its rows, its data cells, and its header cells.

If you want to highlight specific data, use the '<th>' tag for table headers. This element is often used to help screen readers recognize column headers.
Table Headers

Table headers are vertical data labels, usually left-aligned. They define an HTML table's structure.
Here's a simple example of an HTML table with headers:
```html
| Name | Age | Country |
|---|---|---|
| John | 30 | USA |
| Sarah | 25 | UK |

```
Table Rows and Data
Rows and data cells can host a variety of content, like formatting and link tags.
Let's modify our previous table to add sample data for each column:

```
Spanning and Merging Cells




















You can merge or span cells across multiple rows or columns using the 'colspan' and 'rowspan' attributes.
Let's add a new column for 'Occupation' and merge cells for it:
```
Tables can make complex data much more digestible. Practice and experimentation are the keys to mastering them.