Section
Block-level section wrapper with explicit optional page-break intent before or after the section.
Capability note. A requested break is pagination intent, not a guarantee that every renderer will produce identical physical pagination.
Ordinary body section
Use semantic headings inside the print section rather than replacing document semantics.
On narrow screens the embedded example uses a screen-only inspection layout. Printing and the standalone document keep Folio's physical print rules.
View HTML
<ef-print-document>
<ef-print-section>
<p class="folio-kicker">01 / Context</p>
<h1>Executive summary</h1>
<p>Folio owns reusable print presentation; the application owns the report's meaning and content.</p>
</ef-print-section>
</ef-print-document>
Start on a new page
The break-before attribute maps to native CSS page fragmentation.
On narrow screens the embedded example uses a screen-only inspection layout. Printing and the standalone document keep Folio's physical print rules.
View HTML
<ef-print-document>
<p>Previous section content ends here.</p>
<ef-print-section break-before="page">
<p class="folio-kicker">Appendix A</p>
<h1>Detailed evidence</h1>
<p>This section requests a new physical page before it.</p>
</ef-print-section>
</ef-print-document>
End with a page break
Useful when the following content must begin on a fresh page.
On narrow screens the embedded example uses a screen-only inspection layout. Printing and the standalone document keep Folio's physical print rules.
View HTML
<ef-print-document>
<ef-print-section break-after="page">
<p class="folio-kicker">Terms</p>
<h1>Agreement terms</h1>
<p>The section requests a page break after this content.</p>
</ef-print-section>
<h2>Signature page</h2>
<p>The next content begins after the requested break.</p>
</ef-print-document>