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
The generated HTML