|
July 26, 1998
 |
 |
Putting Style Sheets in Perspective
font-variant
|
- Initial Value:
- normal
- Allowed Values:
- normal
- small-caps
-
inherit
- Applies to:
- all elements
- Inherited?:
- yes
|
There are two font-variant properties, normal and
small-caps (Three, if you count inherit).
Normal is a font that is not labled as a small-caps font.
Small-caps specifies a small cap font. Small caps
aren't smaller capital letters of the current font-family,
as the name hints, but rather letters that are shaped
differently from the caps yet resemble them.
<STYLE TYPE="text/css">
<!--
H2 { font-variant: small-caps }
EM { text-decoration: underline }
-->
</STYLE>
</HEAD>
<BODY>
<H2>test of <em>font-variant</em></H2>
|
test of font-variant
|
|
Font-variant is not supported by all browsers.
|
Additional Resources:
Putting Style Sheets in Perspective:font-style
Putting Style Sheets in Perspective: Table of Contents
Putting Style Sheets in Perspective:font-weight
|