Skip to content

Kirby 6.0.1

$dom->body()

Returns the HTML body if one exists

$dom->body(): DOMElement|null

Return types

DOMElementornull

Parent class

Kirby\Toolkit\Dom