$element->outerHtml()
Returns the full HTML for the element
$element->outerHtml(array|null $marks = null): string
Parameters
Name | Type | Default |
---|---|---|
$marks | array ornull |
null
|
Return type
string
This method modifies the existing $element
object it is applied to and returns it again.