Which of the following visibility property value is described by The element is not visible, but the layout of surrounding elements is not affected?

visible
hidden
collapse
none of the mentioned

The correct answer is: C. collapse

The visibility property is a CSS property that specifies whether an element is visible or not. The value “collapse” makes the element invisible, but the layout of surrounding elements is not affected.

The other options are:

  • A. visible : The element is visible.
  • B. hidden : The element is not visible, and the layout of surrounding elements is affected.
  • D. none of the mentioned : This is not a valid value for the visibility property.