figure tag is used to provide the
structure for inserting a figure into a CNXML document. A figure
may contain an image, multimedia object, or caption tag.
This CNXML:
<figure id="cute-dog">
<title>The World's Cutest Dog</title>
<media id="dogpic" alt="A dog sitting on a bed">
<image mime-type="image/jpeg" src="image1.jpg" />
</media>
<caption>
Notice how cute the dog is just sitting there.
</caption>
</figure>
Results in this display:
| The World's Cutest Dog |
|---|
![]() |
figure may contain an optional
label tag, followed by an optional title tag.
Next, it must contain:
Finally, figure may contain an
optional caption tag.