Skip to content

Kirby 4.2.0

$element->tagName()

Returns the name of the element

$element->tagName(): string

Return type

string

Parent class

Kirby\Parsley\Element