Adds a caption to figcaption HTML tag.
Value | Use |
---|---|
null | prevents the attribute from being added to the tag |
string | adds the value of 'string' as the attribute |
$caption = 'myCaption';
<figcaption>MyCaption</figcaption>
###Methods Using This Parameter