Change quotation marks:
The quotes property sets or returns the type of quotation marks for embedded quotations.
The quotes property is supported in all major browsers.
Note: IE8 supports the quotes property only if a !DOCTYPE is specified.
Return the quotes property:
Set the quotes property:
Value | Description |
---|---|
none | Specifies that the open-quote and close-quote values will not produce any quotation marks. This is default |
string string string string | Specifies which quotation marks to use. The first two values specifies the first level of quotation embedding, the next two values specifies the next level of quote embedding, etc |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
Default Value: | none |
---|---|
Return Value: | A String, representing the type of quotation marks for embedded quotations |
CSS Version | CSS2 |
Return the quotes property:
CSS reference: quotes property