Blocks and paragraphs

A mapping that forces its content to start a new line establishes a new block of content. Since these blocks are associated with tags in the input, the blocks are nested together in a way that mirrors the XML hierarchy.

The start or end of a block creates a block boundary. A single block boundary can be caused by the start and/or end of a number of different blocks.

All of the content between two block boundaries is referred to as a paragraph. Certain properties, such as horizontal alignment and interword spacing are applied to all of the content in a paragraph.

In the following example the elements all form blocks. The blocks are represented as rectangles. This results in four block boundaries and three paragraphs.

Note that the final content is not enclosed by an element that creates a block, but it still creates a paragraph because it is between two block boundaries.