CSS quotes Property

Description

The quotes property specifies the type of quotation marks to be used.

Initial value
Depends on browser/user agent
Applies to
All elements
Inherited
Yes
Media
Visual
Computed value
Specified value
Animatable
No
CSS Version
CSS2, CSS3
JavaScript syntax
object.style.quotes

Syntax

Formal syntax: [<string> <string>]+ | none

quotes: [value];

Values

  • noneThe 'open-quote' and 'close-quote' values of the 'content' property produce no quotations marks, as if they were 'no-open-quote' and 'no-close-quote' respectively.
  • [<string> <string>]+Values for the 'open-quote' and 'close-quote' values of the 'content' property are taken from this list of pairs of quotation marks (opening and closing). The first (leftmost) pair represents the outermost level of quotation, the second pair the first level of embedding, etc.
  • inherit

Example

.class {
   quotes: "�0AB" "�0BB";
}

Browser Support

Desktop
Explorer Edge Chrome Firefox Opera Safari
812111.549
Tablets / Mobile
Android Chrome Firefox Opera Safari Samsung
37184X9X