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
- Internet Explorer 11.0 and above
- Microsoft Edge 12 and above