Skip to content

Kirby 6.0.1

Html::__callStatic()

Generic HTML tag generator Can be called like Html::p('A paragraph', ['class' => 'text'])

Html::__callStatic(string $tag, array $arguments = []): string

Parameters

Name Type Default Description
$tagrequired string no default value
$arguments array [] Further arguments for Html::tag()

Return type

string

Parent class

Kirby\Cms\Html inherited from Kirby\Toolkit\Html