HTML DOM Document hidden Property Last Updated : 19 Jun, 2023 Comments Improve Suggest changes Like Article Like Report The Document hidden property returns a Boolean value indicating if the page is considered hidden or not. This is a read-only property. Syntax: let bool = document.hidden; Return Value: This property returns a Boolean Value. true if the page is considered hidden.false if the page is not considered hidden Example: This example shows how to use this property to check whether the page is hidden or not. HTML <!DOCTYPE html> <html> <body> <h1>GeeksforGeeks</h1> <button onclick="get()"> Check </button> <script type="text/javascript"> function get() { alert(document.hidden); } </script> </body> </html> Output: Supported Browsers: Google Chrome 33Edge 12Internet Explorer 10Firefox 18Opera 12.1Safari 7 Comment More infoAdvertise with us Next Article HTML DOM window document Property T taran910 Follow Improve Article Tags : JavaScript HTML-DOM HTML-Property Similar Reads HTML | DOM Input Hidden form Property The Input Hidden form property is used to return the reference of the form containing the Input Hidden field. It is read-only Property that returns a form object on success. Syntax: hiddenObject.form Return Values: It returns a string value which specify the reference of the form containing the Inpu 1 min read HTML DOM window document Property The HTML DOM window document returns a reference to the document contained in the current window. Syntax: doc = window.document; Return Value: This property returns a reference to the document. Example: In this example, we will get the title of the document using that document reference. html <ti 1 min read HTML | DOM Input Hidden defaultValue Property The Input Hidden defaultValue Property in HTML DOM is used to set or return the default value of a hidden field. This property is used to reflect the HTML value attribute. The main difference between the default value and value is that the default value indicates the default value and the value cont 2 min read HTML | DOM Input Hidden name Property The Input Hidden name property in HTML DOM is used to set or return the value of the name attribute. The form data which has been submitted to the server can be identified by the name attribute. The name attribute is also used for referencing form data on the client side using JavaScript. Syntax: It 2 min read HTML | DOM Input Hidden type Property The DOM input Hidden type Property is used for returning the type of form element the hidden input field is. The Input Hidden type returns a string value which represents the type of form element the hidden input field is.Syntax: hiddenObject.type Return Values: It returns a string value which defin 1 min read HTML | DOM Input Hidden value Property The Input Hidden value property in HTML DOM is used to set or return the value of the value attribute of the hidden input field. The value attribute defines the default value of the input hidden field. Syntax: It returns the value property.hiddenObject.valueIt is used to set the value property.hidde 2 min read Like