DITA Resource Center

<fig>

The <fig> element is a figure (sometimes called an "exhibit") with an optional title for a wide variety of content. A figure commonly contains an image or artwork, but it can contain several kinds of text objects as well. A title is placed inside the figure to provide a caption that describes the content.

Use the <desc> element to provide a longer description of the figure following the title.

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

- topic/fig

Example

<fig expanse="column">
  <title>The Handshake</title>
  <image href="handshake.jpg" placement="break">
    <alt>The Handshake</alt>
  </image>
</fig>

Attributes

The following attributes are available on this element: Universal attribute group, Display attribute group, @outputclass, and @spectitle.

Was this page helpful?