<p hidden>I'm invisible!</p>

No need to rely solely on JavaScript to hide elements. Utilize the native HTML hidden attribute.

This has a similar effect to display: none; in CSS, making the element disappear.

article

Leave a Reply

Your email address will not be published. Required fields are marked *