Simple Poem

From DPWiki
Jump to: navigation, search
DP Official Documentation - Post-Processing and Post-Processing Verification

Code

<!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" lang="en" xml:lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
  <title>Simple Poem Example</title>

  <style type="text/css">
<!--
p
{
  text-align: justify;
  text-indent: 1.5em;
}

p.no-indent
{
  text-indent: 0;
}

h2
{
  text-align: center;
  clear: both;
  font-weight: normal;
  font-size: large;
  margin: 2em auto 1em auto;
}

.poetry
{
  margin-left: 2em;
}

.poetry .stanza
{
  margin: 1em auto;
}

.poetry .verse
{
  text-indent: -3em;
  padding-left: 3em;
}

.poetry .indent2
{
  text-indent: -2em;
}
-->
  </style>
</head>

<body>

<h2>CHAPTER XV.</h2>

<p class="no-indent">It was October—the carnival time of the year,</p>

<div class="poetry">
  <div class="stanza">
    <div class="verse">When on the ground red apples lie,</div>
    <div class="verse indent2">In piles like jewels shining,</div>
    <div class="verse">And redder still on old stone walls</div>
    <div class="verse indent2">Are leaves of woodbine shining.</div>
  </div>
  <div class="stanza">
    <div class="verse">When comrades seek sweet country haunts,</div>
    <div class="verse indent2">By twos and twos together,</div>
    <div class="verse">And count like misers, hour by hour,</div>
    <div class="verse indent2">October’s bright blue weather.</div>
  </div>
</div>

<p>On a lovely afternoon our travelers were driving
leisurely along through partially cleared
woodland. The doctor had proposed that they
take this trip in the new automobile. But Mary
had declined with great firmness.</p>

</body>

</html>

Screenshot

Simple Poem


To comment or request edits to this page, please contact lhamilton or hdmtrad.

Return to DP Official Documentation Menu