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 CSS style names/classes or similar styling information; or
- with many of the elements within a NISO JATS table (<table>), records the name of the XHTML 1.1 table styling to be applied to the element; or
Remarks
Best Practice: When used with a <styled-content> element, the value should one of those defined in the W3C
XHTML 1.1 Tag Set.
Used on these Elements:
<caption>, <col>, <colgroup>, <table>, <tbody>, <td>, <tfoot>, <th>, <thead>, <tr>, <verse-group>, <verse-line>
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. |
Used on 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>
...