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