HTML Basics
Stanford University Libraries & Academic Information Resources

Paragraph

For those who enjoy a bit of complexity, here's how the previous example was actually marked up:

<p>So, for example, while an author would construct:</p>

<pre>
    &lt;p&gt;Abraham lincoln's famous speech
        &lt;blockquote&gt;Four score and seven...
        &lt;/blockquote
    is an  example of blah blah blah
    &lt;/p&gt;
</pre>

<p>this must, in fact,be marked up as:</p>

<pre>
&lt;p&gt;Abraham lincoln's famous speech&lt;/p&gt;
    &lt;blockquote&gt;Four score and seven...
    &lt;/blockquote
&lt;p&gt;is an  example of blah blah blah
&lt;/p&gt;
</pre>

You can look at the source or the Paragraph page to see that lists are handled in the same way. If you have a really recursive nature, you might try looking at the source of this page. Don't repeat this process too often, you might go back in time.

Note the extensive use of entity references to represent characters that would otherwise be interpreted as markup:

  &amp;    for &
  &lt;     for <
  &gt;     for >