Quackit Logo
HTML
CSS
Scripting
Database
Hosting
Design
XML

Print Version

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 website?

  • Share
  • Add this page to your Favorites
  • Link to this page (copy/paste into your own website or blog):
  • Link to Quackit using one of these banner ads.
  • Help support Quackit by making a donation

Oh, and thank you for supporting Quackit!

© Copyright 2000 - 2010 Quackit.com