Glubase - share your knowledge


All / Computers / Programming / CSS





  • View Command

CSS Reference

CSS quotes definition

Syntax

quotes: <leftquote> <rightquote>;

Description

The quotes property defines how quotes are displayed.

Values

Values Description
none No quotation marks.
leftquote The left quotation mark.
righquote The right quotation mark.

Example

[Try this example yourself]
<style type="text/css">
.quote1
{
  quotes:"\201c" "\201d";
}

.quote2
{
  quotes:"\00ab" "\00bb";
}
</style>
<p class="quote1"><q>Make love not war.</q></p>
<p class="quote2"><q>Love comes back to you.</q></p>

Output

Make love not war.

Love comes back to you.

  • Comments

No comments added.