style

Style (NISO JATS table model)

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.

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:

ValueMeaning
Text, numbers, or special charactersNames the markup style for one of the elements within a table or for the entire table.
RestrictionThis is an optional attribute; there is no default.

Used on Element: <styled-content>

ValueMeaning
Text, numbers, or special charactersNames the inline markup style for the element.
RestrictionThis is an optional attribute; there is no default.

Example 1

To give formatting information:
...
<table border="2" rules="groups" style="border-collapse: collapse; 
 border-style: solid;" width="298">
 <col width="41.86%"/>
 <col width="58.14%"/>
 <thead>
  <tr>
   <th align="center" scope="col" style="border-left: solid 1px; 
    border-top: solid 1px; border-right: solid 1px; border-bottom: 
    solid 2px" valign="middle"><bold>Shore AO value</bold></th>
   <th align="center" scope="col" style="border-left: solid 1px; 
    border-top: solid 1px; border-right: solid 1px; border-bottom: 
    solid 2px" valign="middle"><bold>Value of spring force</bold>, 
    <italic>F</italic>, <bold>in</bold> mN<break/>
    (&Delta;<italic>F</italic>&equals; &plusmn; 37,5 mN)<xref 
    ref-type="fn" rid="table-fn_23.1"><sup>a</sup></xref></th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td align="center" scope="row" style="border-left: solid 1px; 
    border-top: solid 1px; border-right: solid 1px; border-bottom: 
    solid 1px" valign="middle">0</td>
   <td align="center" style="border-left: solid 1px; border-top: 
    solid 1px; border-right: solid 1px; border-bottom: solid 1px" 
    valign="middle">550,0</td>
  </tr>
  <tr>
   <td align="center" scope="row" style="border-left: solid 1px; 
    border-top: solid 1px; border-right: solid 1px; border-bottom: 
    solid 1px" valign="middle">10</td>
   <td align="center" style="border-left: solid 1px; border-top: 
    solid 1px; border-right: solid 1px; border-bottom: solid 1px" 
    valign="middle">1 300,0</td>
  </tr>
  <tr>
   <td align="center" scope="row" style="border-left: solid 1px; 
    border-top: solid 1px; border-right: solid 1px; border-bottom: 
    solid 1px" valign="middle">20</td>
   <td align="center" style="border-left: solid 1px; border-top: 
    solid 1px; border-right: solid 1px; border-bottom: solid 
    1px" valign="middle">2 050,0</td>
  </tr>
  ...
 </tbody>
</table>
...  

Example 2

To identify color styling:
...
<list-item>
 <p><strike><styled-content style="color" style-type="red">IEEE 
  Std 802.1ad&#x2122; 2005, IEEE Standard for Local and Metropolitan 
  lAi:rea Networks: Tirtual Bridged Local Area Networks Amendment 4: 
  Provider Bridges.</styled-content></strike></p>
</list-item>
<list-item>
 <p><underline><styled-content style="color" style-type="blue">IEEE 
  Std 802.1AE&#x2122;, IEEE Standard for Local and Metropolitan Area 
  Networks: Media Access Control (MAC) Security.</styled-content></underline></p>
</list-item>
...