Home > Article > Web Front-end > Detailed graphic explanation of HTML cellpadding and cellspacing attributes_HTML/Xhtml_Web page production
Cell (cell) -- the content of the table
cell margin (table padding) (cellpadding) -- represents a distance outside the cell, used to separate the cell from the cell space
cell spacing (cellspacing) -- represents the distance between the table border and the cell padding, and is also the distance between the cell padding
The above figure illustrates several aspects of the table Attributes, the black part is the cell (cell), the white area is the cell margin (table filling), and the gray area is the cell spacing (table spacing).