<rendition>
rendition
supplies information about the rendition or appearance of one or more elements in the source text.
Module headerHD57
Attributes
Global and inherited attributes:
- @scopewhere CSS is used, provides a way of defining pseudo-elements, that is, styling rules applicable to specific sub-portions of an element.
- Status
- Datatype
- teidata.enumerated
- Sample values
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
- Datatype
- teidata.text
<rendition scheme="css" selector="text, front, back, body, div, p, ab"> display: block;</rendition>
Classes and content
- May contain
core
dictionaries
figures
msdescription
namesdates
tagdocs
textstructure
Character data
- character data
- Contained by
header
Example
<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>
Content model
<content>
<macroRef key="macro.limitedContent"/>
</content>