Switch to full style
HTML code examples
Post a reply

Set letters for quotation

Thu Feb 23, 2012 10:30 pm

In this example we use CSS quotes to set the two side quotation letters for the Q tag.

Code:
<html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
title>Set letters for quotation </title>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<
style type='text/css'>

{quotes: '[' ']'; color:#2343F3; background-color:#1FF2F3;}
q:before {content:open-quote;}
q:after  {content:close-quote;}
</
style>
</
head>
<
body>
<
p>In this example we specify the text part that is quoted using Q tag.</p>

<
p>This topic posted by asa11 <q> How to write quotes in html </q>. 
</p>
</
body>
</
html>

 




Post a reply
  Related Posts  to : Set letters for quotation
 Java escape letters     -  
 Change letters to upper case by default     -  
 force letters to be lowercase text-transform     -  

Topic Tags

HTML Paragraph