HTML DOM strictErrorChecking Property Last Updated : 02 Sep, 2024 Comments Improve Suggest changes Like Article Like Report The DOM strictErrorChecking Property sets or returns whether strict error checking can be enforced on a document or not. It is used to return a boolean value that is true or false. If true it means strict checking can be applied to the documents and if false then it cannot be applied. This property is true by default.Return Value: Returns a Boolean, true or false. Syntax To return:documentObject.strictErrorCheckingTo set:documentObject.strictErrorChecking=true|falseExample: html <!DOCTYPE html> <html> <head> <title> HTML DOM strictErrorChecking Property </title> </head> <body> <h1>GeeksforGeeks</h1> <h2>HTML DOM strictErrorChecking Property</h2> <p id="geeks" onclick="MyGeeks()"> Hello Geeks! </p> <script> function MyGeeks() { document.getElementById("geeks").strictErrorChecking; } </script> </body> </html> Output:Supported Browsers: The major browsers are not supported by DOM strictErrorChecking Property. Comment More infoAdvertise with us Next Article HTML DOM Input Checkbox required Property K kartikgoel1999 Follow Improve Article Tags : Web Technologies HTML HTML-DOM HTML-Property Similar Reads HTML | DOM Textarea required Property The DOM Textarea required Property is used to set or return the Whether that the input element must be filled out before submitting the Form. This Property is used to reflect the HTML required attribute.Syntax: It is used to Return the required property: textareaObject.requiredIt is used to Set the 2 min read HTML | DOM Video error Property The DOM Video error property is used to return the MediaError object and MediaError object contains error state of Video. Syntax: video.error.code Return Type: This property returns a numbers which represents the error state of the video: 1 = MEDIA_ERR_ABORTED - User aborted fetching process 2 = MED 1 min read HTML | DOM Input URL required Property The DOM Input URL required Property in HTML DOM is used to set or return whether Input url Field should be filled or not when submitting the form. This property is used to reflect the HTML required attribute.Syntax: It returns the Input url required property. urlObject.requiredIt is used to set the 2 min read HTML | DOM Input Text required Property The Input Text required Property in HTML DOM is used to set or return whether Input Text Field should be filled or not when submitting the form. This property is used to reflect the HTML required attribute. Syntax: It returns the Input text required property.textObject.requiredIt is used to set the 2 min read HTML DOM Input Checkbox required Property The Input Checkbox required property in HTML DOM is used to set or return whether the input checkbox field should be checked or not before submitting the form. This property is used to reflect the HTML-required attribute. Syntax:It returns the Input Checkbox required property.checkboxObject.required 2 min read HTML DOM Input Checkbox required Property The Input Checkbox required property in HTML DOM is used to set or return whether the input checkbox field should be checked or not before submitting the form. This property is used to reflect the HTML-required attribute. Syntax:It returns the Input Checkbox required property.checkboxObject.required 2 min read Like