1. Home
  2. Computing & Technology
  3. Web Design / HTML

quotes

By Jennifer Kyrnin, About.com

quotes Description:

The quotes property defines the quotation marks for any number of embedded quotations.

quotes in CSS Versions:

quotes Syntax:

quotes: <string> <string> | none | inherit

  • <string>
    Display the string as the quotation mark. The first string is the open quote, the second string is the close quote.
  • none
    Do not display a quotation mark for the content: open-quote or close-quote.
  • inherit
    The element should have the same quotes setting as the parent.

quotes Initial Value:

Depends upon the user agent.

quotes Applies To:

All elements.

quotes Inheritance:

This property is inherited.

quotes Browser Support:

quotes media type:

  • All

quotes Examples

Put curly quotes around blockquotes

<style>
blockquote { quotes: '“' '”'; }
</style>

quotes Special Notes:

  • Internet Explorer does not support this property.

More quotes Information

Return to the Style Library

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. CSS
  5. Style Properties
  6. CSS Style Property: quotes

©2008 About.com, a part of The New York Times Company.

All rights reserved.