subfigure tag is used when you want
to include multiple figures, tables, or blocks of code within a
single figure tag. You should use the
subfigure tag only if the subfigures are
related and you want to display them together. The
subfigure tag is similar to the
figure tag, except that it cannot contain another
subfigure tag.
This CNXML:
<figure id="dogs-fig" orient="horizontal">
<title>Some very cute dogs</title>
<subfigure id="dogs-subfig1">
<media id="dog-1"
alt="A dog sitting on a bed">
<image mime-type="image/jpeg"
src="image1.jpg" />
</media>
</subfigure>
<subfigure id="dogs-subfig2">
<media id="dog-2"
alt="A dog looking on">
<image mime-type="image/jpeg"
src="image2.jpg" />
</media>
</subfigure>
</figure>
Results in this display:
| Some very cute dogs | ||||
|---|---|---|---|---|
|
subfigure may contain an optional
label tag, followed by an optional title tag.
Next, it must contain:
Finally, figure may contain an
optional caption tag.