| ## Text Encoding Initiative
### The XML Version of the TEI Guidelines # <label>

`<label>` | contains the label associated with an item in a list; in glossaries, marks the term being defined.
Attributes | Global attributes and those inherited from lists
Example | Labels are most commonly used for the headwords in glossary lists; note the use of the global `lang` attribute to set the default language of the glossary list to Middle English, and identify the glosses and headings as modern English or Latin:
    <list type="gloss" lang="ME">
    <head lang="EN">Vocabulary</head>
    <headLabel lang="EN">Middle English</headLabel>
    <headItem lang="EN">New English</headItem>
    <label>nu</label><item lang="EN">now</item>
    <label>lhude</label><item lang="EN">loudly</item>
    <label>bloweth</label><item lang="EN">blooms</item>
    <label>med</label><item lang="EN">meadow</item>
    <label>wude</label><item lang="EN">wood</item>
    <label>awe</label><item lang="EN">ewe</item>
    <label>lhouth</label><item lang="EN">lows</item>
    <label>sterteth</label><item lang="EN">bounds, frisks
     (cf. <cit><ref>Chaucer, K.T.644</ref><q>a courser,
     <term>sterting</term>as the fyr</q></cit></item>
    <label>verteth</label><item lang="LA">pedit</item>
    <label>murie</label><item lang="EN">merrily</item>
    <label>swik</label><item lang="EN">cease</item>
    <label>naver</label><item lang="EN">never</item>
    </list>
Example | Labels may also be used to record explicitly the numbers or letters which mark list items in ordered lists, as in this extract from Gibbon's Autobiography. In this usage the `<label>` element is synonymous with the `n` attribute on the `<item>` element:
    I will add two facts, which have seldom occurred in
    the composition of six, or at least of five quartos.
    <list rend="runon" type="ordered">
    <label>(1)</label><item>My first rough manuscript, without any
    intermediate copy, has been sent to the press.</item>
    <label>(2) </label><item>Not a sheet has been seen by any human
    eyes, excepting those of the author and the printer:
    the faults and the merits are exclusively my own.</item>
    </list>
Labels may also be used for other structured list items, as in this extract from the journal of Edward Gibbon:
    <list type="gloss">
       <label>March 1757.</label>
       <item>I wrote some critical observations upon Plautus.</item>
       <label>March 8th.</label>
       <item>I wrote a long dissertation upon some lines of Virgil.</item>
       <label>June.</label>
       <item>I saw Mademoiselle Curchod &mdash;
          <q lang="la">Omnia vincit amor, et nos cedamus amori.</q></item>
       <label>August.</label>
       <item>I went to Crassy, and staid two days.</item>
    </list>
Module | Declared in file teicore2; Core tag sets: enabled when any TEI base is enabled
Class | lists
Data Description | May contain character data and phrase-level elements.
May contain | #PCDATA abbr add addSpan address alt altGrp anchor app c caesura cb certainty cl corr damage date dateRange dateStruct del delSpan distinct emph expan fLib foreign formula fs fsLib fvLib fw gap geogName gloss handShift hi index interp interpGrp join joinGrp lang lb link linkGrp m measure mentioned milestone name num oRef oVar orgName orig pRef pVar pb persName phr placeName ptr ref reg respons restore rs s seg sic soCalled space span spanGrp supplied term time timeRange timeStruct timeline title unclear w xptr xref
May occur within | ab add admin argument body camera caption case castList cell colloc corr country damage def descrip dictScrap div div0 div1 div2 div3 div4 div5 div6 div7 docEdition emph entryFree epigraph epilogue etym figDesc foreign form gen gram gramGrp head hi hyph imprimatur item itype l lang lbl lem list meeting metDecl mood note number orth otherForm p per performance pos prologue pron q quote rdg ref region rendition seg set sic sound stage stress subc supplied syll tagUsage tech title titlePart tns tr trans unclear usg view wit witDetail witness writing xr xref
Declaration |
    <!ELEMENT label %om.RO;  %phrase.seq;>
    <!ATTLIST label
          %a.global;>
See further | 6.7 Lists

Up: 35 Elements