An external file that holds a picture, illustration, etc., usually as some form of binary object

The “content” of the Graphic element is not the object itself, but merely information about the object. The external file that contains the object is named by the xlink:href attribute.


Authoring and Conversion Note: Although, in theory, the position attribute of this element may be used to indicate whether this element must be anchored at its exact location within the text or whether it may float, it is usually good practice to anchor graphics. The few graphics that are really floating loose in text should be anchored there, and all the graphics inside figures, tables, etc. should be anchored as well, although the outer structure (figure, boxed-text) may be allowed to float.

Authoring and Conversion Note: Internal Elements, such as <caption>, should always be used at the highest possible level; in other words, if a Graphic <graphic> element is inside a Figure <fig>, the <caption>, <long-desc>, etc., should be part of the Figure, not part of the Graphic. Use a <caption> element on a Graphic only when the graphic is not enclosed in any other structure or when a figure contains multiple graphics, each of which must have a <caption>. Similarly, the Position attribute should not be used on a <graphic> that is inside a larger display container such as a Paragraph <p>.


alt-version Alternate Version of a Graphic
alternate-form-of Alternate Form of Graphic, Media Object, Etc.
id Identifier
mime-subtype Mime Subtype
mimetype Mime Type
position Position
xlink:actuate Actuating the Link
xlink:href Href (Linking Mechanism)
xlink:role Role of the Link
xlink:show Showing the Link
xlink:title Title of the Link
xlink:type Type of Link
xmlns:xlink XLink Namespace Declaration

Related Elements

This DTD Suite contains several elements to describe non-XML material: <graphic>, <inline-graphic>, <media>, and <supplementary-material>. The elements <graphic> and <inline-graphic> are used for “still” images, i.e., photographs, diagrams, etc. The distinction between the two other elements is more subtle. The element <media> should be used for movies, audio clips, or media in other formats which is intrinsic to the document’s content, that is, the media object is discussed within the document. The element <supplementary-material> should be used for films, audio clips, or other material which enhances a document, but which is not discussed as part of the document.

Authoring and Conversion Note: Unlabeled graphical objects should be tagged as <graphic>s, not as <fig>s. A common test to determine if an object is a Figure <fig> versus a Graphic <graphic> is to ask, “if there were a ‘List of Figures’ for this article, should this object appear in that list?”

Model Description

Any combination of:

Tagged Example

<title>Study appraisal and extraction of data</title>
<p>We identified ... Details of randomisation procedures, 
treatment schedules, and numbers of patients followed up 
are given on the <italic>BMJ</italic> website.</p>
<fig id="F1">
<label>Figure 1</label>
<p>Deaths among patients receiving day hospital care 
or alternative services. Odds ratios of death by end 
of follow up were calculated by fixed effects model. 
Heterogeneity between trials is presented as 
<alt-text>Deaths hospital/alternative services</alt-text>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink" 
xlink:href="fors2662.f1" alt-version="yes"></graphic>