# font-variant attribute

Type: | "normal" or "small-caps"
Inherited: | no
Used By: | All text elements
Default: | "normal"

This attribute can be set to "small-caps" to convert the lowercase letters in the text to use small-capitals - all other letters, including digits, uppercase or caseless letters and punctuation are left unchanged. It can be used with any font. The conversion is relatively time consuming, so we recommend not using this for entire documents.

    <p>
      This section of the text is in <span font-variant="small-caps">Small Capitals</span>
    </p>