1.

Which of the following is only for table elements?(a) initial(b) collapse(c) hidden(d) inheritI got this question during an online interview.My doubt is from Suppressing Element Display & Visibility, Image Replacement in section Layout & Images of CSS

Answer»

Correct answer is (b) collapse

Easy explanation: Collapse is only for table elements. Collapse removes row or COLUMN. But it does not affect table layout. The space TAKEN up by row or column will be AVAILABLE for other content. If the collapse is used with other elements, it RENDERS as “hidden”.



Discussion

No Comment Found

Related InterviewSolutions