Inline Elements

Contact Us or call 1-877-932-8228
Inline Elements

Inline Elements

An inline element is an element that does not cause a block to be created; for example, to apply formatting to text within a block. Inline elements are denoted with the inline tag. The following example illustrates the use of inline.

Code Sample:

<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="">
---- C O D E   O M I T T E D ----
<fo:page-sequence master-reference="hello">
		<fo:static-content flow-name="xsl-region-before">
			<fo:block font-size="24pt">Hello 
				<fo:inline font-weight="bold" 
---- C O D E   O M I T T E D ----

The example above will render as follows. Note that only the top left quarter of the page is shown.

The same text-formatting attributes shown for block FOs can be used for inline FOs.