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>), records XHTML classes or similar styling information;
  • with many of the elements within a NISO JATS table(<table>), records the name of the style to be applied to the element; or

Remarks

Best Practice: When used with a Styled Special (Subject) Content element, the value should be as defined in the W3C XHTML 1.1 Tag Set.

With these Elements

<caption>, <col>, <colgroup>, <table>, <tbody>, <td>, <tfoot>, <th>, <thead>, <tr>
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.

With the Element

<mml:math>
Value Meaning
Text, numbers, or special characters As described in the MathML documentation.
Restriction: @style is an optional attribute; there is no default.

With the Element

<styled-content>
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.

Example


...
<tr>
<td style="background: lightgrey" colspan="7">Preschool</td>
</tr>
...