Total members 11872 |It is currently Mon Nov 28, 2022 9:52 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





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>

 




_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time
Post new topic Reply to topic  [ 1 post ] 

  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
cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com