Html::figure()
Creates a <figure>
tag with optional caption
Parameters
Name | Type | Default | Description |
---|---|---|---|
$content * | string |array |
– | Contents of the <figure> tag |
$caption | string |array |
'' |
Optional <figcaption> text to use |
$attr | array |
[ ] |
Additional attributes for the <figure> tag |
Return type
string