Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
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 several 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';}