HomeReferencesCSS Properties

CSS Property: quotes

Specifies what form the quotes of the open-quote and close-quote values of the content property should take. Not supported by IE.

HTML Dog, The Book HTML Dog book cover

HTML Dog is hosted by Titan Internet

Possible Values

  • inherit
  • none
  • [string] [string] - first string being that used for the open-quote value and second string for the close-quote value.
  • [string] pairs can be repeated, whereby each consecutive pair will represent the quotes for the next level of embedding. For example, '"' '"' "'" "'" will specify that quotes within a quoted element will be surrounded by ' characters. Only supported by Opera.

Example


q { quotes: '"' '"' }