The visibility property specifies whether the boxes generated by an element are rendered.
object.style.visibility = "value";
<'visibility'> = visible | hidden | collapse | inherit
The generated box is visible.
The generated box is invisible, but still affects layout. Descendants of the element will be visible if they have 'visibility: visible'.
The generated box is invisible and does not affect layout when used on rows, row groups, columns, or column groups. When not, 'collapse' has the same meaning as 'hidden'.
Specifies the same value as the parent.
World Wide Web Consortium (W3C)