Quackit Logo
HTML
CSS
Scripting
Database
Hosting
Design
XML
Website builder

CSS quotes

Also see the full, alphabetical list of CSS properties


The CSS quotes property is used to specify what quotation marks will look like. To do this, you should use the HTML 'Q' element to indicate quotation marks.

Syntax: quote: <value1> <value2> ...
value1 specifies what the first/outer quotes will look like, value2 specifies the first level of embedding/nesting etc.
Possible Values:
  • none
  • <string>
  • inherit
Initial Value: Depends on browser/user agent
Applies to: All elements
Inherited: Yes
Media: Visual
Example: Q { quotes: '"' '"' "'" "'" }
This example would use double quotes (") for the outer quotation, and single quotes (') for the inner quotation (or nested quotation).

Also see all CSS properties listed alphabetically


Enjoy this page?

  1. Add this page to your Favorites
  2. Link to this page (copy/paste into your own website or blog):
  3. Link to Quackit using one of these banner ads.

Thanks for supporting Quackit!