caption tag is only used to provide a
caption for a figure, subfigure, or a
table. You can enter a somewhat lengthy
description of the figure with the
caption tag. In contrast, using the
name tag you can enter only a brief title or label
that appears above a figure.
<figure id="fig1"> <name>A Happy Dog</name> <media type="image/jpeg" src="image1.jpg"/> <caption>The dog displayed in this picture is enjoying a comfortable bed.</caption> </figure>
A Happy Dog
Figure 1:
The dog displayed in this picture is enjoying a
comfortable bed.
|