HTML DOM Textarea disabled Property Last Updated : 16 Jun, 2023 Comments Improve Suggest changes Like Article Like Report The DOM Textarea disabled Property is used to set or return whether the textarea element would be disabled or not. A disabled text area is un-clickable and unusable. It is a boolean attribute and is used to reflect the HTML Disabled attribute. Syntax: It is used to return the disabled property.textareaObject.disabledIt is used to set the disabled property.textareaObject.disabled = true|false Property Values: true: It defines that the textarea is disabled.False: It has a default value. It defines that the text area is not disabled. Return Value: It returns a boolean value that represents whether the text area is disabled or not. Example-1: This example illustrates how to set the Textarea disabled property. HTML <!DOCTYPE html> <html> <head> <title>DOM textarea disabled Property</title> </head> <body style="text-align:center"> <h1 style="color: green;"> GeeksforGeeks </h1> <h2>DOM textarea disabled Property</h2> <p>This text area is non editable.</p> <!-- Assigning id to textarea. --> <textarea id="GFG" disabled> This textarea field is disabled. </textarea> <br> <button onclick="myGeeks()"> Submit </button> <script> function myGeeks() { // sets the textarea disabled property. document.getElementById( "GFG").disabled = false; } </script> </body> </html> Output: Example-2: This example illustrates how to return the Textarea Disabled property. HTML <!DOCTYPE html> <html> <head> <title>DOM textarea disabled Property</title> </head> <body style="text-align:center"> <h1 style="color: green;"> GeeksforGeeks </h1> <h2>DOM textarea disabled Property</h2> <p>This text area is non editable.</p> <!-- Assigning id to textarea. --> <textarea id="GFG" disabled>This textarea field is disabled. </textarea> <br> <button onclick="myGeeks()"> Submit </button> <p id="sudo"></p> <script> function myGeeks() { // Return Textarea disabled Property let x = document.getElementById( "GFG").disabled; document.getElementById( "sudo").innerHTML = x; } </script> </body> </html> Output: Supported Browsers: The browser supported by Textarea Disabled Property are listed below: Google ChromeInternet ExplorerFirefoxOperaSafari Comment More infoAdvertise with us M manaschhabra2 Follow Improve Article Tags : Misc Web Technologies HTML Web technologies HTML-DOM HTML-Property +2 More Practice Tags : Misc Similar Reads HTML | DOM Embed Object The Embed Object in HTML DOM is used to represent the <embed> element. The <embed> element can be accessed by using getElementById() method. Note: This object is new in HTML 5. Property Values: height: It sets or returns the value of the height attribute. src: It sets or returns the valu 2 min read HTML DOM Anchor Object The Anchor Object in HTML DOM is used to represent the <a> element. The anchor element can be accessed by using getElementById() method. Syntax: document.getElementById("ID"); Where ID is assigned to the anchor tag. Property Values: Property Description charset Set or return the character set. 2 min read HTML DOM ColumnGroup Object The ColumnGroup Object in HTML DOM is used to represent the HTML <colgroup> element. This tag is used to set or return the properties of <colgroup> element. It can be accessed by using getElementById() method. Syntax: document.getElementById( "ColGroup_ID" );This ColGroup_ID is assigned 2 min read HTML | DOM Window frameElement Properties HTML DOM Window frameElement property returns the iframe element in which the window is embedded or stored. If it is not stored, in that case, it simply returns a null value. Syntax: window.frameElement Return Value: It returns an IFrame object or null. Example: html <!DOCTYPE html> <html 1 min read HTML | DOM Style columnRuleStyle Property The DOM style columnRuleStyle Property in HTML is used to define or determine the style of rule between columns. Syntax : To set the property: object.style.columnRuleStyle = "none|hidden|dotted|dashed|solid| double|groove|ridge|inset|outset|initial|inherit" To return the property: object.style.colum 6 min read HTML | DOM Style columnRuleWidth Property The Style columnRuleWidth property in HTML DOM is used to define or determine the width of the rule between the columns. Syntax: It returns the columnRuleWidth property.object.style.columnRuleWidthIt is used to set columnRuleWidth property.object.style.columnRuleWidth = "medium|thin|thick|length| in 3 min read HTML DOM adoptNode() Method This DOM adoptNode() method is used to adopt a node from another document. All node types can be adopted. All child nodes along with the original node can be adopted. AdoptNode() method is used to return node objects.Syntax: document.adoptNode(node)Parameter Value: DOM adoptNode() method contains on 2 min read HTML | DOM Style zIndex Property The Style zIndex property is used for set or return the stack order of a positioned element. The element which has a lower stack order will be behind of another element with higher stack order. For example, the element with stack order(1) will be in front of the element with stack order(0). The Styl 2 min read HTML | DOM Input Password Object The Input Password Object in HTML DOM is used to represent an HTML input element with type="password". The input element with type="password" can be accessed by using getElementById() method. Syntax: It is used to access input type="password"document.getElementById("id");It is used to create type="p 3 min read HTML | DOM Column Object The Column Object in HTML DOM is used to represent the HTML <col> element. This tag is used to set or get the properties of <col> element. It can be accessed by using getElementById() method.Syntax: document.getElementById("Col_ID"); This Col_ID is assigned to HTML < col > element. 2 min read Like