Html::iframe()
Creates an <iframe>
Html::iframe(string $src, array $attr = []): string
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $srcrequired | string |
no default value | |
| $attr | array |
[]
|
Additional attributes for the <iframe> tag |
Return type
string
Parent class
Kirby\Cms\Html
inherited from Kirby\Toolkit\Html