”;
CSS quotes property allows browser to render quotation marks for the content.
Quotes can be added to any element. They seek the benefit of pseudo-elements ::before and ::after to insert the quotation marks at the beginning and at the end of a quote. These pseudo-elements are defined by the content property.
This CSS quotes specifies how the browser should render quotation marks that are added using the open-quote and close-quote values of the content property.
Possible Values
-
none − The open-quote and close-quote values of the content property produce no quotation marks.
-
string,string,+ − One or more pairs of string values for open-quote and close-quote. The first pair represents the outer level of quotation. The second pair is for the first nested level and next pair for third level and so on.
-
initial − Depends on user agent
-
auto − Appropriate quote marks will be used for whatever language value is set on the selected elements (i.e. via the lang attribute).
Applies to
All elements.
Syntax
Keyword Value
quotes: none; quotes: auto;
<string> Value
quotes: "«" "»"; quotes: "«" "»" "‹" "›";
Following table describes the various quotation mark characters:
Quotes | Description | Entity Number |
---|---|---|
“ | double quotes |