Testing it Out: A Sample Article
This section doesn't have a title, so it just gets a horizontal line at the top.

Now its time to add some titles to our containers. First, a code sample without a title:
Here is a block of code.
Note that it has to be left-justified
since it will become a preformatted
section in the HTML file.
And now, with a title:
Code Sample
Here is a block of code.
Note that it has to be left-justified
since it will become a preformatted
section in the HTML file.
The benefit of placing the title and content inside of a container is that the spacing works the same regardless of whether or not you have a title. If the title and content were stand-alone entities, then the spacing would change.
Section 2
Here is a new section. It has a title "Section 2".

Here comes an inline code sample: from parser import XML_parser

Finally, let's try out some text styles: bold, italic, bold+italic, fixed font, fixed-font italic, fixed-font italic+bold.

The above text shows the importance of the xsl:apply-templates function. Without this, the b, i, and tt would not automatically nest, and you'd only see the effect of the outermost tag.
Section 3 - Other HTML tags
Here is a link to python.org

Here is a list of fruits, unordered:
  • Apple
  • Orange
  • Banana
And as an ordered list:
  1. Apple
  2. Orange
  3. Banana
Here is a note box:
Important Note
Here is an important note about nothing. Here is some more text to fill the box up and make it wordwrap.

Here is a second paragraph in the box.
And now a warning box:
WARNING
Here is an important warning about nothing. Here is some more text to fill the box up and make it wordwrap.

Here is a second paragraph in the box.
Images
Here is a sample image. By default, it is centered horizontally.
Here is the same image, but with a title='Figure 1' attribute.
Figure 1
Inner code samples
Here are note and warning boxes with code samples inside of them. Note how they are decorated differently than code samples that stand on their own.
WARNING
You don't want to do this!
import os
os.system("rm -rf /")
NOTE
Counting ...
for i in range(10):
    print i
That was fun.
Tables
And here is a table, using the standard tr, th, and td tags.
A Table Title
Item #Serial #PriceQuantity
R18723S883723$3.8712
R38434S483723$83.234
R38343S594834$0.34185
R11823S192283$9.1223
That was even more fun.