Hide the content of a <p> element:
The visibility property sets or returns whether an element should be visible.
The visibility property allows the author to show or hide an element. It is similar to the display property. However, the difference is that if you set display:none, it hides the entire element, while visibility:hidden means that the contents of the element will be invisible, but the element stays in its original position and size.
display:none
visibility:hidden
Return the visibility property:
Set the visibility property: