<graphic>

<graphic> indicates the location of an inline graphic, illustration, or figure. 3.9 Graphics and other non-textual components
Module core — 3 Elements Available in All TEI Documents
In addition to global attributes att.internetMedia (@mimeType) att.declaring (@decls)
width The display width of the image
Status Optional
Datatype

<rng:ref name="data.outputMeasurement"/>
data.outputMeasurement
height The display height of the image
Status Optional
Datatype

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

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

<rng:ref name="data.pointer"/>
data.pointer
Used by
May contain
core: desc gloss
tagdocs: altIdent equiv
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:attribute name="url">
  <rng:ref name="data.pointer"/>
 </rng:attribute>
 <rng:zeroOrMore>
  <rng:ref name="model.glossLike"/>
 </rng:zeroOrMore>
</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 },
   model.glossLike*
}
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.