1.

Difference between cellspacing ang cellpadding

Answer» \tCellpaddingCellspacingIt specifies the space between the border of a table cell and its contents.It specifies the space between adjacent cells.It is created by using HTML tag but type attribute is set to cellpadding.It is also created by using HTML
tag but type attribute is set to cellspacing.It is mainly meant for a single cell.Cellspacing can get subjected to more than one cell.The default cellpadding value is 1\xa0Whereas, the default cellspacing value is 2Cellpadding is widely used and considered to be an effective meanCellspacing is less effective than Cellpadding.Cellpadding is an attributeCellspacing is also an attribute.\t


Discussion

No Comment Found