HTML hidden Attribute
Note: This attribute is new in HTML 5.
Supported Tags: This is a Global attribute, and can be used on any HTML element.
Example 1: This simple example illustrates hiding the content from the user by using the hidden attribute with the <div> element in HTML.
Example 2: In this example, we have used the hidden attribute that will hide the content while rendering it to the browser.
- Google Chrome 93.0 & above
- Internet Explorer 11.0
- Microsoft Edge 93.0
- Firefox 92.0 & above
- Opera 78.0
- Safari 14.1