CSS Tables
⭐ CSS Tables
CSS lets you control the appearance of HTML tables — borders, spacing, padding, colors, and alignment.
1️⃣ Basic Table Styling
Adds borders to the table, header cells, and data cells.
2️⃣ Border Collapse
-
collapse→ merges borders (clean look) -
separate→ keeps them separate (default)
3️⃣ Cell Padding
Adds space inside each cell.
4️⃣ Table Width & Alignment
5️⃣ Row Background Color
Adds zebra stripes.
