<caption>
<caption>
is a Sectional
component that renders a caption attached to an
<image/>
or <video/>
when nested inside a <figure>
.
Attributes and Properties
The <caption>
component has no attributes.
Property | Type |
---|---|
$c.disabled | boolean |
$c.fixed | boolean |
$c.fixLocation | boolean |
$c.hidden | boolean |
$c.text | text |
Example: Add a <caption>
to a <figure>
A <caption>
is used to describe an <image>
in a <figure>
.