Hiding elements is simple, say we have 2 <p>
<body>
<p class="first">First</p>
<p>Second</p>
</body>
display
specifies how an element should be displayedvisibility
specifies whether or not an element should be visibleEx:
.first {
/* not to display the text */
display: none;
/* hide the text, but save the space */
visibility: hidden;
}