## Text Encoding Initiative

### The XML Version of the TEI Guidelines

# <span>

`<span>` | (span) associates an interpretative annotation directly with a span of text.

Attributes

(In addition to global attributes and those inherited from interpret, metadata)

`value` | identifies the specific phenomenon being annotated.
| Datatype: CDATA
| Values: Any string of characters.
| Default: #REQUIRED

`from` | specifies the beginning of the passage being annotated; if not accompanied by a `to` attribute, then specifies the entire passage.
| Datatype: IDREF
| Values: The identifier of the element which occurs at the beginning of the passage.
| Default: #REQUIRED
`to` | specifies the end of the passage being annotated.
| Datatype: IDREF
| Values: The identifier of the element which occurs at the end of the passage.
| Default: #IMPLIED

Example

    <span resp="TMA" type="structural unit" value="aftermath" from="p2" to="p4"/>

Module Declared in file teiana2; Additional tag set for simple analysis: enabled by TEI.analysis
Class interpret; metadata
Data Description Empty element.
May occur within ab abbr activity actor add addName addrLine address admin affiliation analytic app argument author authority back bibl biblFull biblScope biblStruct birth bloc body byline camera caption case castGroup castItem castList cell channel cit cl classCode closer colloc constitution corr country creation damage date dateRange dateStruct dateline def del derivation descrip dictScrap distance distinct distributor div div0 div1 div2 div3 div4 div5 div6 div7 docAuthor docDate docEdition docImprint docTitle domain edition editor education emph entry entryFree epigraph epilogue etym expan extent factuality figDesc figure firstLang foreName foreign form front funder fw gen genName geogName gloss gram gramGrp graph group head headItem headLabel hi hyph imprimatur imprint interaction item itype l label lang langKnown language lbl lem lg lg1 lg2 lg3 lg4 lg5 list listBibl locale m measure meeting mentioned metDecl monogr mood name nameLink note num number occasion occupation offset ofig opener orgDivn orgName orgTitle orgType orig orth otherForm p per performance persName phr placeName pos preparedness principal prologue pron pubPlace publicationStmt publisher purpose q quote rdg rdgGrp re ref reg region rendition residence resp respStmt restore role roleDesc roleName row rs s salute seg sense series set settlement sic signed soCalled socecStatus sound sp spanGrp speaker sponsor stage street stress subc supplied surname syll symbol table tagUsage tech term termEntry text tig time timeRange timeStruct title titlePage titlePart tns tr trailer trans u unclear usg view w wit witDetail witList witness writing xr xref
Declaration

    <!ELEMENT span %om.RO; EMPTY>
    <!ATTLIST span
          %a.global;
          %a.interpret;
          value CDATA #REQUIRED
          from IDREF #REQUIRED
          to IDREF #IMPLIED>

See further 15.3 Spans and Interpretations

Up: 35 Elements