Tables are used to represent real life table data.
there are five tags or terms in table :-
Table tag is root element of a table in HTML, all HTML Table tags are written under it. In HTML table tag is used by <table>.........</table>.
The top part of a table that typically contains headings from each comlumn, providing context for the data in the cells below. In HTML, table headers are created using <th>......</th> tag, which is also known as Table header within the <tr>.
A horizontal line of cells in a table. In HTML, a row is created using <tr>.......</tr> tag, which is also known as Table Row.
A vertical line of cells in a table. Columns are formed by stacking cells vertically across rows. In HTML table header commanly use for creating columns.
table data refers to the individual cells within a table that contain the actual content or data. Each cell of the data is created using <td>......</td> tag, which is also known as Table Data.
This is used to show the title of the table. In HTML it created by <caption>......</caption>

| Table Header 1 | Table Header 2 | Table Header 3 |
|---|---|---|
| Row 1 | Table Data 1 | Table Data 2 |
| Row 2 | Table Data 3 | Table Data 4 |
| Row 3 | Table Data 5 | Table Data 6 |
| Row 4 | Table Data 7 | Table Data 8 |
| TOTAL | Table footer 1 | table footer 2 |
Used to create cells with spans over multiple rows or columns.

Specifies how many columns a cell should span across. Colspan is used to make a cell wider across columns.

"Here number defines how many columns it will occupy"
Specifies how many rows a cell should span down across. Rowspan is used to make a cell taller across rows.

"Here number defines how many rows it will occupy"
| Item | Price | |
|---|---|---|
| INR | USD | |
| Frooti | 10 | 0.14 |
| Samosa | 12 | 0.17 |
| Chips | 20 | 0.28 |
| All items | 42 | 0.59 |
main page :- Click Here