This attribute can be applied to all HTML elements. While HTML4 does not support the hidden attribute. The hidden attribute is added newly in HTML5.
Syntax: <element hidden>
This attribute is supported by the following browsers:
- Internet Explorer-11.0
Example: for hidden attribute
<p hidden>This paragraph should be hidden.</p>
This is a visible paragraph.
Note: The hidden attribute is not supported in IE10 or earlier versions.