figure tag is used to provide the
structure for inserting a figure into a CNXML document. A figure
may contain an image, multimedia object, a table, a
block of code, or mutiple such items.
<figure id="fig1">
<name>Figure Name Here</name>
<media type="image/jpeg" src="image1.jpg"/>
<caption>A figure's caption would go here. It
could offer a more detailed explanation of the
figure than offered in the name.</caption>
</figure>
Figure Name Here
Figure 1:
A figure's caption would go here. It could offer a
more detailed explanation of the figure than offered
in the name.
|
<figure id="fig2">
<name>A block of code as a figure</name>
<code type="block">
<html>
<head>
<title>Basic HTML tags</title>
</head>
<body>
Content goes here
</body>
</html>
</code>
</figure>
A block of code as a figure
<html>
<head>
<title>Basic HTML tags</title>
</head>
<body>
Content goes here
</body>
</html>
Figure 2
|