w3schools
  
HOME HTML CSS XML JAVASCRIPT ASP PHP SQL MORE...   References Examples Forum About

CSS quotes Property

CSS Reference Complete CSS Reference

Example

Specify the quotation marks for embedded quotations:

q:lang(en)
{
quotes: "«" "»" "'" "'";
}

Try it yourself »

Definition and Usage

The quotes property sets the type of quotation marks for embedded quotations.

Default value: not specified
Inherited: yes
Version: CSS2
JavaScript syntax: object.style.quotes="none"


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The quotes property is supported in all major browsers.

Note: Internet Explorer 8 (and higher) supports the quotes property if a !DOCTYPE is specified.


Property Values

Value Description
none Specifies that the "open-quote" and "close-quote" values of the "content" property will not produce any quotation marks
string string string string Specifies which quotation marks to use. The first two values specifies the first level of quotation embedding, the next two values specifies the next level of quote embedding, etc
inherit Specifies that the value of the quotes property should be inherited from the parent element

Quotation Mark Characters

Result Description Entity Number
" double quote "
' single quote '
single, left angle quote ‹
single, right angle quote ›
« double, left angle quote «
» double, right angle quote »
left quote (single high-6) ‘
right quote (single high-9) ’
left quote (double high-6) “
right quote (double high-9) ”
double quote (double low-9) „
 

Related Pages

HTML DOM reference: quotes property


CSS Reference Complete CSS Reference

Altova® XMLSpy® - The industry-leading XML editor!

Altova XMLSpy

Whether you're new to XML or already an advanced user, the user-friendly views and powerful entry helpers, wizards, and debuggers in XMLSpy are designed to meet your XML and Web development needs from start to finish. New features in Version 2010!

  • XML editor
  • Graphical XML Schema / DTD editors
  • XSLT 1.0/2.0 editor, debugger, profiler
  • XQuery editor, debugger, profiler
  • XBRL validator, taxonomy editor, taxonomy wizard
  • Support for Office Open XML (OOXML)
  • Graphical WSDL 1.1/2.0 editor & SOAP debugger
  • JSON editing & conversion
  • Java, C#, C++ code generation
  • And much more!

Download a free trial today!

  Altova XMLSpy

WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Top 10 Web Hosting
UK Reseller Hosting
Web Hosting
FREE Web Hosting
Top Web Hosting
Windows Hosting
WEB BUILDING
Download XML Editor
FREE Flash Website
FREE Web Templates
FLIGHT TICKETS
Find the cheapest flight
to any destination now!
EDUCATION
US Web Design Schools
HTML Certification
JavaScript Certification
XML Certification
PHP Certification
ASP Certification
STATISTICS
Browser Statistics
Browser OS
Browser Display