style-type Style Type

Description or explanation of the stylistic difference being recorded (for example, illuminated letters, drop cap).


This attribute can be used to name the specific formatting marked with a <styled-content> element that records non-standard styling information.
Related Attribute:
For some styling, three pieces of style information are useful: the style name or style class, the style type (human readable), and further specifics concerning the style, which is recorded in the @style-detail attribute.
Being able to indicate three separate styling-related specifications is particularly useful in Japanese, where authors typically use emphasizing marks (dots or sesamis), called “Kenten”, which are associated with individual Japanese characters as dots above, dots beside, or similar typographic construction. Many languages (Japanese, Korean, Thai, Chinese, Arabic, Hungarian, and Armenian, to name but a few) use stress marks and similar typographic conventions (such as dots or sesamis) in the same way that English (as one example) uses <bold> or <italic> emphasis.
Here are some Japanese examples concerning how the @style-detail attribute might be used to modify the style (@style-type):
style-type style-detail values
  • open
  • closed (filled)
  • double (dot inside dot)
sesami (sesame)
  • open
  • closed (filled)
  • open
  • closed (filled)
  • double (circle inside circle)
  • forward (slant left)
  • backward (slant right)
  • open
  • closed (filled)
OPTIONAL on elements: <styled-content>, <verse-group>, <verse-line>
Value Meaning
Text, numbers, or special characters Name or description for the stylistic type, for example, “green background”.
Restriction @style-type is an optional attribute; there is no default.
Tagged Samples
Dropped capital
<p><styled-content specific-use="print" style-type="drop cap">D</styled-content>etecting
 pancreatic cancer in its early stages is complicated ...</p>
Dot used as emphasis on Japanese text
     toggle="no">あいうえお</styled-content> ...</p>