Q1. What is table cell padding?
Cell padding adds space inside table cells between content and cell border.
Q2. How do you add padding to table cells?
Use padding property on td and th: td, th { padding: 10px; }
Q3. Can headers and data cells have different padding?
Yes, style th and td separately: th { padding: 15px; } td { padding: 8px; }
Q4. What's the difference between cell padding and cell spacing?
Padding is inside cells, spacing (border-spacing) is between cells.
Q5. Why is padding important in tables?
Padding improves readability by preventing text from touching borders and makes tables visually appealing.
