Html::img()
Generates an <img>
tag
Html::img(string $src, array $attr = [ ]): string
Parameters
Name | Type | Default | Description |
---|---|---|---|
$src |
string |
– | The URL of the image |
$attr |
array |
[ ] |
Additional attributes for the |
Return type
string
Inherited from
Kirby\Toolkit\Html