◇◆
style Style (NISO JATS table model; MathML Tag Set)
Names the concrete style or rendering to be applied to the element. This attribute
can be used in several contexts:
- With the styled content element (<styled-content>), to record XHTML classes CSS style names/classes or similar styling information;
- With many of the elements within a NISO JATS table (<table>), to record the name of the XHTML 1.1 table styling to be applied to the element;
- To format verse, used with <verse-line> and <verse-group>.
Usage/Remarks
Best Practice
When used with a <styled-content> element, the value should be one of those defined in the W3C
XHTML 1.1 Tag Set.
Related Attribute
For some styling, three pieces of style information are most useful:
- the style name or style class (possibly actionable),
- the style type (human readable), and
- further specific information concerning the style, which is recorded in the @style-detail attribute.
In English, and other Western languages, these three style facets can be used, for
example, for formatting verse. In many Eastern languages, these three facets can be
necessary to describe different styles of emphasis.
Kenten and Similar Emphasis
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 illustrating how the @style-detail attribute might be used to modify the style (@style-type):
style-type | style-detail values |
---|---|
dot
|
|
sesami (sesame)
|
|
circle
|
|
hatched
|
|
triangle
|
|
OPTIONAL on many elements; click for list and usage
Value | Meaning |
---|---|
Text, numbers, or special characters | Names the markup style for one of the elements within a table or for the entire table. |
Restriction | @style is an optional attribute; there is no default. |
OPTIONAL on elements: <styled-content>, <verse-group>, <verse-line>
Value | Meaning |
---|---|
Text, numbers, or special characters | Names the inline markup style for the element. |
Restriction | @style is an optional attribute; there is no default. |
Tagged Sample
Specified styling for a table cell
...
<tr>
<td style="background: lightgrey" colspan="7">Preschool</td>
</tr>
...