◇◆
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 one of those defined in the W3C
XHTML 1.1 Tag Set.
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>
...