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-content> element, the value should be as defined in the W3C
XHTML 1.1 Tag Set.
Used on these Elements:
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>
...