MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

WEB TECHNOLOGY

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
____ specifies the distance between the edge of table cells and their content.
A
Cellspacing
B
Rowspan
C
Colspan
D
Cellpadding
Explanation: 

Detailed explanation-1: -Cellpadding specifies the space between the border of a table cell and its contents (i.e) it defines the whitespace between the cell edge and the content of the cell. Cellspacing: Cellspacing specifies the space between cells (i.e) it defines the whitespace between the edges of the adjacent cells.

Detailed explanation-2: -CELLPADDING sets the amount of space between the contents of the cell and the cell wall.

Detailed explanation-3: -Cell padding is the space between the cell edges and the cell content.

Detailed explanation-4: -Answer: CELLSPACING controls the space between table cells. Although there is no official default, browsers usually use a default of 2.

Detailed explanation-5: -The HTML <table> cellspacing Attribute is used to specify the space between the cells.

There is 1 question to complete.