Tables (1/6)
How do we create tables in HTML?
    Creating Tables in HTML

    In HTML, tables are used to display data in a structured grid of rows and columns. The main elements for creating a table are `<table>`, `<tr>`, `<th>`, and `<td>`.

    Key Table Elements
    • **`<table>`:** Defines the table container.
    • **`<tr>` (Table Row):** Defines a row in the table.
    • **`<th>` (Table Header):** Defines a header cell, usually bold and centered by default.
    • **`<td>` (Table Data):** Defines a standard data cell.
    • **`<caption>`:** Optional element to provide a title or description for the table.
    • **`<thead>`, `<tbody>`, `<tfoot>`:** Optional elements to group header, body, and footer rows for better semantics and styling.
    Example Usage

    In short: Use `<table>` as the container, `<tr>` for rows, `<th>` for header cells, and `<td>` for data cells. Optional grouping and caption elements improve semantics and accessibility.