blockquote:before {content: open-quote;} blockquote:after {content: close-quote;} : blockquote « Tags « HTML / CSS






blockquote:before {content: open-quote;} blockquote:after {content: close-quote;}

  

<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<head>
  <title>Generated Quotes</title>
<style type='text/css'>
blockquote:before {content: open-quote;}

blockquote:after {content: close-quote;}
</style>

</head>

<body>
<h1>Generated quotes</h1>
<p>Here are some quotes from Oscar Wilde:</p>

<blockquote>test.</blockquote>

</body>
</html>

   
    
  








Related examples in the same category

1.blockquote tag
2.Set margin, padding and color for blockquote
3.Style for blockquote and paragraph in a blockquote
4.Different background for blockquote and paragraph in a blockquote
5.border for blockquote
6.blockquote margin: 0;
7.blockquote padding: 0;
8.blockquote color: #555;
9.blockquote float: left;
10.blockquote width: 200px;
11.blockquote margin: 0 0.7em 0 0;
12.blockquote padding: 0.7em;
13.blockquote color: #666;
14.blockquote background-color: black;
15.blockquote font-family: Georgia, Times, "Times New Roman", serif;
16.blockquote font-size: 1.5em;
17.blockquote font-style: italic;
18.blockquote border-top: 1em solid #999;
19.blockquote border-bottom: 1em solid #999;
20.blockquote with image
21.blockquote background: url(img/menubg.gif) repeat-x bottom left #f4f4f4;
22.blockquote border-bottom: 1px solid #d8d8d8;
23.blockquote border-left: 4px solid #ccc;
24.blockquote border-right: 1px solid #d8d8d8;
25.blockquote border-top: 1px solid #d8d8d8;
26.blockquote color: #505050;
27.blockquote margin: 16px;
28.blockquote padding: 7px 7px 7px 11px;
29.blockquote font-weight: bold;
30.blockquote color: #B29B35;
31.Quotation layout
32.'blockquote' Example