Skip to content

Kirby 4.2.0

$element->outerHtml()

Returns the full HTML for the element

$element->outerHtml(?array $marks = null): string

Parameters

Name Type Default
$marks array|null null

Return type

string

Parent class

Kirby\Parsley\Element