![]() Default value of cellpadding is zero 0 which you can change by adding attribute cellpadding=”5px” in table tag. Cellpadding is an important feature to format and make table cells good. If you have some content inside a cell the cell will leave space on each side top, left, right, bottom that’s cellpadding. What is cellpadding in HTML tablesĬellpadding is used to define the distance or space inside the cell. I will describe cellpadding and cellspacing separately then will compare the diffrence. To make the concept of cellpadding and cellspacing more clear. ![]() Padding is always space inside the cell while the cellspacing is the space between two cells. Table contains two properties cellpadding and cellspacing.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |