Differentiate between Cellpadding and Cellspacing.Plz help
Answers
Answered by
0
Answer:
Cellpadding: Cellpadding is widely used and considered to be an effective mean
Cellpadding is an attribute
The default cellpadding value is 1
It is mainly meant for a single cell.
It is created by using HTML <table> tag but type attribute is set to cellpadding.
It specifies the space between the border of a table cell and its contents.
Cellspacing: It specifies the space between adjacent cells.
It is also created by using HTML <table> tag but type attribute is set to cellspacing.
Cellspacing can get subjected to more than one cell.
Whereas, the default cellspacing value is 2
Cellspacing is less effective than Cellpadding.
Cellspacing is also an attribute.
Explanation:
Hope it helps you
Please mark me as brainliest
Thank you
Similar questions