FUNDAMENTALS OF COMPUTER

USING MICROSOFT WORD

NEW DOCUMENTS TEMPLATES IN MICROSOFT WORD

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is “cell padding”?
A
The border between cells in a table.
B
The space between each row of the table.
C
The space between the borders of the cell and the inside text.
D
The space around the outside of the cell.
Explanation: 

Detailed explanation-1: -Cell padding is the space between the cell edges and the cell content. By default the padding is set to 0.

Detailed explanation-2: -Cellpadding (along with cellspacing) is a term used in the computer language HTML which stands for Hypertext Markup Language. When used in conjunction with the table element, it specifies the amount of space between the border of a table cell and its contents.

Detailed explanation-3: -The cell padding in HTML is an attribute for the table element (used for td and th elements). It defines the space between the cell’s edges/walls and its content. Cell padding is an inline attribute used under the table tag that can overwrite the CSS style. The value is set in pixels and is set to 1 by default.

Detailed explanation-4: -Use the CellPadding property to control the spacing between the contents of a cell and the cell’s border. The padding amount specified is added to all four sides of the cell. All cells in the same column of a GridView control have the same width.

There is 1 question to complete.