mPDF Manual – HTML control tags

htmlpagefooter

(mPDF >= 2.0)

htmlpagefooter – Define an HTML page footer with a given name

Description

<htmlpagefooter  $name  > $html </htmlpagefooter>

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

Attributes

$name

This attribute is a text string to use as the name for this footer.

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
2.0 The tag was added.

Examples

For examples and further information please see:

See Also

Fork me on GitHub