HTML DOM Meta httpEquiv Property Last Updated : 16 Jun, 2023 Comments Improve Suggest changes Like Article Like Report The HTML DOM Meta httpEquiv Property is used to set or return the HTTP header for the information in the content attribute. The HTML http-equiv Attribute is used to provide header information or value of the content Attribute. It can be used to simulate an HTTP Header response. Syntax: It returns the httpEquiv property:metaObject.httpEquiv It is used to Set the httpEquiv property:metaObject.httpEquiv = HTTP-he Property values: content-type It Specifies the character set for the contents of the document.default-style It Specified the preferred style sheet to use.refresh It Defines a time interval for the document to refresh itself. Examples: In this example, we will see the use of DOM Meta httpEquiv Property. HTML <!DOCTYPE html> <html> <head> <meta http-equiv="refresh" content="30"> </head> <body> <h1>GeeksForGeeks</h1> <h2>DOM Meta http-equiv Property</h2> <p>Hello GeeksforGeeks!</p> <button onclick="myGeeks()"> Submit </button> <p id="sudo"></p> <script> function myGeeks() { let x = document.getElementsByTagName( "META")[0].httpEquiv; document.getElementById( "sudo").innerHTML = x; } </script> </body> </html> Output: Supported Browsers: The browsers supported by DOM Meta httpEquiv Property are listed below: Google ChromeInternet ExplorerFirefoxApple SafariOpera Comment More infoAdvertise with us Next Article HTML | DOM Link rel Property M manaschhabra2 Follow Improve Article Tags : Web Technologies HTML Web technologies HTML-DOM Similar Reads HTML DOM Meta name Property The HTML DOM Meta name Property is used for returning or setting the name of the name and it is used to reference form data when it has been submitted by the user. It also refers to the element in the javascript. Syntax: It is used to return the name property.metaObject.nameIt is used to set the nam 2 min read HTML DOM Meta content Property The Meta content Property in HTML DOM is used for setting or returning the value of the content attribute of a <meta> element. The content attribute is used to specify the content of the meta-information. Syntax: It is used to return the content property:metaObject.content It is used to set th 2 min read HTML | DOM Link rel Property The HTML | DOM Link rel Property in HTML DOM is used to set or return the value of the rel attribute of a linked document. The rel attribute is used to specify the relation between the current document and the linked document. Syntax: It returns the rel property.linkObject.relIt is used to set the r 3 min read HTML | DOM Meta Object The DOM Meta Object is used to represent the HTML <meta> element. The Meta element is accessed by getElementById().Properties: Name attribute: This attribute is used to define the name of property.http-equiv attribute: This attribute is used to get http response message header.Scheme attribute 2 min read HTML | DOM Meta Object The DOM Meta Object is used to represent the HTML <meta> element. The Meta element is accessed by getElementById().Properties: Name attribute: This attribute is used to define the name of property.http-equiv attribute: This attribute is used to get http response message header.Scheme attribute 2 min read HTML DOM URL Property The DOM URL property in HTML is used to return a string that contains the complete URL of the current document. The string also includes the HTTP protocol such as ( http://).Syntax:document.URLReturn Value: It returns a string value that represents the full URL of the document. Example: In this exam 2 min read Like