Skip to content

Kirby 4.5.0

Html::iframe()

Creates an <iframe>

Html::iframe(string $src, array $attr = [ ]): string

Parameters

Name Type Default Description
$src * string
$attr array [ ] Additional attributes for the <iframe> tag

Return type

string

Parent class

Kirby\Toolkit\Html