HTML & CSS
/Intermediate
Tables
Definition
The `<table>` element represents data in two dimensions (rows and columns).
Explain Like I'm New
HTML's version of an Excel spreadsheet. You create a `<table>`, add Table Rows `<tr>`, and inside those rows you put Table Headers `<th>` or standard Table Data cells `<td>`.
Real World Example
Displaying a financial report, a sports league leaderboard, or a pricing tier comparison chart.
Common Use Cases
- •Displaying tabular data
Interactive Example
Interview Questions
basic
- What tags define a row and a cell inside a table?
intermediate
- Why shouldn't you use tables for website layout?