HTML and CSS Reference
In-Depth Information
Name
quotes
Values:
[<string> <string>]+ |
none
Initial value:
User agent-dependent
Applies to:
All elements (CSS2); all elements,
::before
,
::after
,
::alternate
,
::marker
,
::line-
marker
, margin areas, and
@footnote
areas (CSS3)
Inherited:
Yes
Computed value:
Same as declared value
Description:
Defines the quotation pattern used with quotes and nested quotes. The actual quote marks
are inserted via the
content
property's
open-quote
and
close-quote
values. Note that sev-
eral of the pseudo-elements to which quotes applies, such as
::alternate
,
::marker
, and
::line-marker
, are new in CSS3 and may not be supported.
Example:
q {quotes: '\201C' '\201D' '\2018' '\2019';}