property

quotes — CSS reference

Defines opening and closing quote pairs used by generated open-quote and close-quote values. The pairs can reflect document language and nesting depth. The property does not insert punctuation on its own.

Formal Syntax & Structure

css syntaxcss
quotes: "«" "»";

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS reference lab</title><style>#a {quotes:"«" "»"} #a::before {content:open-quote} #a::after {content:close-quote}</style><body><span id="a">A quotation</span></body></html>
CSS Reference