HTML DOM Style quotes Property Last Updated : 25 Aug, 2023 Comments Improve Suggest changes Like Article Like Report The Style quotes Property in HTML DOM is used to set/return the type of quotation marks for embedded quotations. This element can be accessed by using getElementById() method. Syntax: To get the property.object.style.quotesTo set the property.object.style.quotes = "none | string string string string|initial|inherit"Return Value: It returns the type of quotation of <q> tag. Property Values: none: This is the default value. It specifies that the open-quote and close-quote values will not produce any quotation marks.string string string string: It specifies the quotation marks to use. The first two values define the first level of quotation embedding, the second two values define the second level of quote embedding, etcinitial: Sets this property to its default value.inherit: Inherits this property from its parent element.Quotation Marks characters and Entity Numbers: Quotation MarksEntity Numbersdouble Quote\0022single quote\0027single, left angle quote\2039single, right angle quote\203Adouble, left angle quote\00ABdouble, right angle quote\00BBleft quote (single high-6)\2018right quote (single high-9)\2019left quote (double high-6)\201Cright quote (double high-9)\201Ddouble quote (double low-9)\201EExample 1: In this example, we will change the quotes property. html <!DOCTYPE html> <html> <head> <title>DOM Style quotes Property</title> </head> <body style="text-align: center;"> <h1 style="color:green;"> GeeksforGeeks </h1> <q id="myQ" style="font-size: 20px;"> DOM Style quotes Property </q> <br><br> <button type="button" onclick="myFunc()"> Change Quotation Style </button> <script> function myFunc() { // Change quotes document.getElementById("myQ") .style.quotes = "'â' 'â'"; } </script> </body> </html> Output: Example 2: Change quotes property using entity number. html <!DOCTYPE html> <html> <head> <title>DOM Style quotes Property</title> </head> <body style="text-align: center;"> <h1 style="color:green;"> GeeksforGeeks </h1> <q id="myQ" style="font-size: 20px;"> DOM Style quotes Property </q> <br><br> <button type="button" onclick="myFunc()"> Change Quotation Style </button> <script> function myFunc() { // Change quote document.getElementById("myQ") .style.quotes = "'\253' '\273'"; } </script> </body> </html> Output: Supported Browsers: The browser supported by HTML DOM Style quotes Property are listed below: Google Chrome 11 and aboveEdge 12 and aboveMozilla Firefox 1.5 and aboveOpera 4 and aboveSafari 9 and aboveInternet Explorer 8 and above Comment More infoAdvertise with us P PranchalKatiyar Follow Improve Article Tags : Web Technologies HTML HTML-DOM Similar Reads HTML DOM readyState Property The readyState property in HTML is used to return the loading status of the current document. This property is used for read-only. Syntax:document.readyStateReturn Value: It returns a string value which is used to define the status of the current document. The one of five status are listed below:uni 2 min read HTML DOM Location host Property The Location Host property in HTML is used to sets or return the hostname and port of a URL. The Location Hash property doesn't return the port number if it is not specified in the URL. Syntax: It returns the host property. location.hostIt is used to set the host property. location.host = hostname:p 1 min read HTML DOM Location protocol Property The Location protocol property in HTML is used to return the protocol or set the protocol of the current URL. It returns a string that contains the protocol of the current URL, including the colon (:). Syntax: It returns the protocol property. location.protocolIt is used to set the protocol property 1 min read HTML DOM Location pathname Property The Location pathname property in HTML is used to set or return the pathname of a URL. The Location pathname property returns a string that represents the pathname of the URL. Syntax: It returns the pathname property.location.pathnameIt is used to set the pathname property.location.pathname = pathEx 1 min read HTML DOM Location hostname Property The Location hostname property in HTML is used to return the hostname of the current URL. The Location hostname property returns a string that contains the domain name, or the IP address of a URL. Syntax: It returns the hostname property. location.hostname It is used to set the hostname property. lo 1 min read HTML DOM Location href Property The Location href property in HTML is used to set or return the complete URL of the current page. The Location href property can also be used to set the href value point to another website or point to an email address. The Location href property returns a string that contains the entire URL of the p 2 min read HTML | DOM Input Image Object The Input Image Object in HTML DOM is used to represent the HTML < input > element with type=âimageâ. This tag is used to access or create the element. This element can be accessed by using getElementById() method. Syntax: document.getElementById("MyImage"); Return Value: It return the propert 3 min read HTML | DOM Ol start Property The DOM Ol start property is used to set or return the value of the start attribute in an ordered list. The start attribute in HTML is used to specify the start value for numbering the individual list item. It is used with an ordered list. Syntax: It is used to return the start property. olObject.st 2 min read HTML | DOM Option disabled Property The DOM Option disabled Property is used to set or return whether the value of an option would be disabled or not. The disabled attribute for the element in HTML is used to specify that the option value is disabled. A disabled option is un-clickable and unusable. It is a boolean attribute. Syntax: I 2 min read HTML | DOM KeyboardEvent keyCode Property The KeyboardEvent keyCode property is used for returning the Unicode character code of the key that has been used to trigger an onkeypress event. The KeyboardEvent keyCode property is also used for returning the Unicode character code of a key that has triggered an onkeydown or onkeyup event. The ke 2 min read Like