<sans-serif> Sans Serif

Used to mark text that should appear in a sans-serif font.


Ensuring that a text component remains in a sans-serif font is typically used when marking mathematics (a mathematical equation, expression, or formula) or chemistry (a chemical expression, reaction, or equation).
Using the Toggle Switch with Sans Serif
The @toggle attribute can control the behavior of the <sans-serif> element. For example, setting the @toggle attribute to “no” would mean that material marked as being in a sans-serif font will always be sans-serif, even in a context that is styled in sans-serif. In contrast, if the @toggle attribute is set to “yes” on an <sans-serif> element, then if the formatting context imposes a sans-serif font (whether due to another <sans-serif> element, a stylesheet, some CSS, or other means), then the sans-serif would be turned off within that context, making the emphasized text emphasized by contrast (typographically distinct from its surroundings) but not necessarily in a sans-serif font.

Base Attributes

Models and Context
May be contained in
Content Model
<!ELEMENT  sans-serif   (#PCDATA %emphasized-text;)*                 >
Expanded Content Model

(#PCDATA | email | ext-link | uri | inline-supplementary-material | related-article | related-object | bold | fixed-case | italic | monospace | overline | roman | sans-serif | sc | strike | underline | ruby | alternatives | inline-graphic | inline-media | private-char | chem-struct | inline-formula | tex-math | mml:math | abbrev | index-term | index-term-range-end | milestone-end | milestone-start | named-content | styled-content | fn | target | xref | sub | sup)*

Tagged Sample

Distinguish letters in scientific terms

<p>... <sans-serif>S</sans-serif>-shaped bifurcation curve ...</p>