mPDF Manual – HTML control tags

(mPDF >= 2.0)

Description

<htmlpageheader  $name >$html </htmlpageheader>

Define an HTML page header with a given name. Named headers can be referenced and set later in the document e.g. <sethtmlpageheader>

$name This attribute is a text string to use as the name for this header. If name is BLANK or omitted, it is set as _default. Content$html

Any valid HTML code can be enclosed between the tags, and will be parsed by mPDF as for any other content.

Changelog

Version Description