font-variant
property has 3 possible values: small-caps
, normal
and inherit
.The keyword
small-caps
converts the lower case letters of the text it is applied to to small capital letters. Small capital letters are letters that are of a smaller height than regular capital letters.Some typefaces have a specific small-caps font. However, none of the typefaces that are supplied with Windows XP have a specific small-caps face. A web browser, however, can simulate small-caps type by down scaling regular capital letters.
Example:
<p style="font-variant: small-caps">The Quick Brown Fox Jumps Over The Lazy Dog</p>
No comments:
Post a Comment