<rendition>

<rendition> (rendition) supplies information about the rendition or appearance of one or more elements in the source text. [2.3.4. The Tagging Declaration]
Module header
Attributes Attributes att.global (xml:id, n, xml:lang) (lim.att.global.fragmentable (part)) (att.global.rendition (rendition)) (att.global.source (source)) att.styleDef (scheme, schemeVersion)
scope where CSS is used, provides a way of defining pseudo-elements, that is, styling rules applicable to specific sub-portions of an element.
Status Optional
Datatype teidata.enumerated
Sample values include:
first-line
styling applies to the first line of the target element
first-letter
styling applies to the first letter of the target element
before
styling should be applied immediately before the content of the target element
after
styling should be applied immediately after the content of the target element
selector contains a selector or series of selectors specifying the elements to which the contained style description applies, expressed in the language specified in the scheme attribute.
Status Optional
Datatype teidata.text

<rendition scheme="css" selector="text, front, back, body, div, p, ab">  
        display: block;
       
</rendition>

<rendition scheme="css" selector="*[rend*=italic]">
        font-style: italic;
       
</rendition>
Note
Since the default value of the scheme attribute is assumed to be CSS, the default expectation for this attribute, in the absence of scheme, is that CSS selector syntax will be used.
While rendition is used to point from an element in the transcribed source to a rendition element in the header which describes how it appears, the selector attribute allows the encoder to point in the other direction: from a rendition in the header to a collection of elements which all share the same renditional features. In both cases, the intention is to record the appearance of the source text, not to prescribe any particular output rendering.
Contained by
header: tagsDecl
May contain
Examples

<tagsDecl>
   
<rendition xml:id="r-center" scheme="css">text-align: center;</rendition>
   
<rendition xml:id="r-small" scheme="css">font-size: small;</rendition>
   
<rendition xml:id="r-large" scheme="css">font-size: large;</rendition>
   
<rendition xml:id="initcaps" scope="first-letter" scheme="css">font-size: xx-large</rendition>
</tagsDecl>
Source Github

<elementSpec module="header" ident="rendition">
   
<gloss>rendition</gloss>
   
<desc>supplies information about the rendition or appearance of one or more elements in the source
text.
</desc>
   
<classes>
      
<memberOf key="att.global"/>
      
<memberOf key="att.styleDef"/>
   
</classes>
   
<content>
      
<macroRef key="macro.limitedContent"/>
   
</content>
   
<attList>
      
<attDef ident="scope">
         
<desc>where CSS is used, provides a way of defining
<soCalled>pseudo-elements</soCalled>, that is, styling rules
applicable to specific sub-portions of an element.
</desc>
         
<datatype>
            
<dataRef key="teidata.enumerated"/>
         
</datatype>
         
<valList type="open">
            
<valItem ident="first-line">
               
<desc>styling applies to the first line of
the target element
</desc>
            
</valItem>
            
<valItem ident="first-letter">
               
<desc>styling applies to the first letter of
the target element
</desc>
            
</valItem>
            
<valItem ident="before">
               
<desc>styling should be applied immediately before
the content of the target element
</desc>
            
</valItem>
            
<valItem ident="after">
               
<desc>styling  should be applied immediately after
the content of
the target element
</desc>
            
</valItem>
         
</valList>
      
</attDef>
      
<attDef ident="selector">
         
<desc>
    contains a selector or series of selectors specifying the elements to which the contained style 
    description applies, expressed in the language specified in the 
<att>scheme</att> attribute.
   
</desc>
         
<datatype maxOccurs="1">
            
<dataRef key="teidata.text"/>
         
</datatype>
      
</attDef>
   
</attList>
</elementSpec>