The hidden attribute
The hidden attribute hides an element from the page. The attribute has no value. Its effect is similar to the display property with a value of none.
Example
Let's hide one of the blocks:
<div hidden>
text1
</div>
<div>
text2
</div>
:
See also
-
property
visibility,
which sets the element to invisible