Using span to create quotation
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>
<head>
<title>text-transform</title>
<style type='text/css'>
body {
font: 16px sans-serif;
}
p {
white-space: pre;
}
span.quote {
color: purple;
}
span.author {
font-size: 12px;
}
</style>
</head>
<body>
<p>
<span class='quote'>From the moment I picked up
your book until I laid it down,
I was convulsed with laughter.
Some day I intend reading it.</span>
<span class='author'>- Groucho Marx</span>
</p>
</body>
</html>
Related examples in the same category