HTML MCQ Question - Increasing the cellpadding means: a) Increase the distance between cell and content b) Increase the space between cells c) Increase the softness of your site d) None of above
Cellpadding is an attribute of HTML table cells that tells the browser how much padding is required in the cell. To put it simple, it specifies the amount of space between the border of a table cell and its contents.
You use cellpadding attribute with <table> tag as follows:
<table width="500px" cellpadding="15px">
Show your love! Share this page!
Increasing the cellpadding means to
We are given four options for this question:
- a) Increase the distance between cell and content
- b) Increase the space between cells
- c) Increase the softness of your site
- d) None of above
Among the given options, the option a) Increase the distance between cell and content is correct for this question. To increase the space between cells, we use cellspacing attribute. The third option 'c) Increases the softness of your site' has no meaning in this context.
Thus, the correct answer is option a)