<graphic>

<graphic> indicates the location of an inline graphic, illustration, or figure. 3.9 Graphics and other non-textual components
Modulecore — 3 Elements Available in All TEI Documents
Attributes att.internetMedia (@mimeType) att.declaring (@decls)
widthThe display width of the image
Status Mandatory when applicable
Datatype

<rng:ref name="data.outputMeasurement"/>
data.outputMeasurement
heightThe display height of the image
Status Mandatory when applicable
Datatype

<rng:ref name="data.outputMeasurement"/>
data.outputMeasurement
scaleA scale factor to be applied to the image to make it the desired display size
Status Mandatory when applicable
Datatype

<rng:ref name="data.numeric"/>
data.numeric
url(uniform resource locator) A URL which refers to the image itself.
Status Mandatory when applicable
Datatype

<rng:ref name="data.pointer"/>
data.pointer
Used by
May containEmpty element
Declaration

<rng:element name="graphic">
<rng:ref name="att.global.attributes"/>
<rng:ref name="att.internetMedia.attributes"/>
<rng:ref name="att.declaring.attributes"/>
<rng:optional>
 <rng:attribute name="width">
  <rng:ref name="data.outputMeasurement"/>
 </rng:attribute>
</rng:optional>
<rng:optional>
 <rng:attribute name="height">
  <rng:ref name="data.outputMeasurement"/>
 </rng:attribute>
</rng:optional>
<rng:optional>
 <rng:attribute name="scale">
  <rng:ref name="data.numeric"/>
 </rng:attribute>
</rng:optional>
<rng:optional>
 <rng:attribute name="url">
  <rng:ref name="data.pointer"/>
 </rng:attribute>
</rng:optional>
<rng:empty/>
</rng:element>
element graphic
{
   att.global.attributes,
   att.internetMedia.attributes,
   att.declaring.attributes,
   attribute width { data.outputMeasurement }?,
   attribute height { data.outputMeasurement }?,
   attribute scale { data.numeric }?,
   attribute url { data.pointer }?,
   empty
}
Example
<figure>
 <graphic url="fig1.png"/>
 <head>Figure One: The View from the Bridge</head>
 <figDesc>A Whistleresque view showing four
   or five sailing boats in the foreground, and a
   series of buoys strung out between them.</figDesc>
</figure>
Note
The mimeType attribute should be used to supply the MIME media type of the image specified by the url attribute.