CSS font-variant-caps Property
This css property controls the use of alternate glyphs for capital letters.
Syntax -
font-variant-caps: normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps |
Now we will see the values with their description -
Value |
Description |
normal |
This value deactivates the use of alternate glyphs |
small-caps |
It displays small capitals |
all-small-caps |
It displays small capitals for both of the upper and lowercase letters |
petite-caps |
It displays petite capitals |
all-petite-caps |
It displays petite capitals for both of the upper and lowercase letters |
unicase |
It displays a mix of small capitals for uppercase letters with the normal lowercase letters |
titling-caps |
It displays titling capitals |
Now we will see the example
Example -
<html> |
Output -