CSS quotes Property


The quotes property in CSS specifies the type of quotation mark for the quotation used in the sentence. It defines which quotation mark to be used when the quotation is inserted by using the open-quote and close-quote values of the content property.

Values

none: It is the default value that specifies that the open-quote and close-quote values of the content property do not generate any quotation marks.

string: This value specifies the type of quotation mark to be used in sentence. The first pair represents the outer-level quotation; the second pair indicates the first nested level, the third pair indicates the third level, and so on.

#a {
  quotes: "'" "'";
}

Example -