<tag>
tag
contains text of a complete start- or end-tag, possibly including attribute specifications, but excluding the opening and closing markup delimiter characters.
Module tagdocsTD
Attributes
Global and inherited attributes:
- @typeindicates the type of XML tag intended.
- Status
- Optional
- Datatype
- teidata.enumerated
- Legal values
start- a start-tag, with delimiters < and > is intended
end- an end-tag, with delimiters </ and > is intended
empty- an empty tag, with delimiters < and /> is intended
pi- a pi (processing instruction), with delimiters <? and ?> is intended
comment- a comment, with delimiters <!-- and --> is intended
ms- a marked-section, with delimiters <[CDATA[ and ]]> is intended
<div type="verse"> <head>Night in Tarras</head> <lg type="stanza"> <l>At evening tramping on the hot white road</l> <l>…</l> </lg> <lg type="stanza"> <l>A wind sprang up from nowhere as the sky</l> <l>…</l> </lg> </div>- @schemesupplies the name of the schema in which this tag is defined.
- Status
- Optional
- Datatype
- teidata.enumerated
- Sample values
TEI- (text encoding initiative) This tag is defined as part of the TEI scheme.
DBK- (docbook) this tag is part of the Docbook scheme.
XX- (unknown) this tag is part of an unknown scheme.
SchematronHTML
Classes and content
- Member of
- May contain
Character data
- character data
- Contained by
cmc
core
dictionaries
header
msdescription
- accMat
- acquisition
- additions
- catchwords
- collation
- collection
- colophon
- condition
- custEvent
- decoNote
- explicit
- filiation
- finalRubric
- foliation
- heraldry
- incipit
- institution
- layout
- material
- musicNotation
- objectType
- origDate
- origin
- origPlace
- provenance
- repository
- rubric
- secFol
- signatures
- source
- stamp
- summary
- support
- surrogates
- typeNote
- watermark
namesdates
textstructure
Example
Mark the start of each italicised phrase with a
<tag>hi rend="it"</tag>
tag, and its end with a
<tag type="end">hi</tag>
tag.
<tag type="comment">Example updated on 2008-04-05</tag>
Content model
<content>
<textNode/>
</content>