Running content

Header

A semantic three-region document header that stays in normal flow portably and can express running-page intent without faking pagination. Slots name physical positions: left, center and right keep their edges even when a region is omitted or the document is right-to-left.

Elementef-print-header
CapabilityP0 in-flow · P1/P2 running capability
Maturityimplemented / capability-bound
Pagination ownerBrowser / selected renderer

Capability note. repeat='page' records running-header intent only. Repetition into physical page margins requires a renderer profile that actually supports and maps running content.

Example 1

Document header

A portable one-time header with left, center, and right regions.

Open standalone print preview

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-header>
    <span slot='left'>Echelon Foundry</span>
    <span slot='center'>Architecture Review</span>
    <span slot='right'>September 2026</span>
  </ef-print-header>
  <h1>Executive summary</h1>
</ef-print-document>
Example 2

Running intent

The attribute declares intent; P0 keeps the content visible in flow while P1/P2 integrations may map it to page margins.

Open standalone print preview

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-header repeat='page'>
    <span slot='left'>Folio</span>
    <span slot='right'>Confidential</span>
  </ef-print-header>
  <p>Body content remains meaningful without running-margin support.</p>
</ef-print-document>
Example 3

Single-region header

Unslotted content spans the available header regions.

Open standalone print preview

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-header>
    <strong>Decision memorandum · Internal</strong>
  </ef-print-header>
  <p>Memo content follows.</p>
</ef-print-document>