font-style :
normal |
italic |
oblique
Compatibility: IE4+ N4+
Version: Level 1 Inherited: Yes
The font-style property allows you to designate a font to be
normal, italic or oblique.
normal
The normal value is the default and refers to the characters
being upright. By declaring normal, you can ensure that any previous
declaration will not effect a selected text.
italic
If you select the italic value, and it is not available for
a particular font, then the oblique value will be applied.
oblique
The oblique value slants the characters.
Code:
p { font-style: normal; }
p { font-style: italic; }
p { font-style: oblique; }
or
<span style="font-style: normal;">Normal </span>
<span style="font-style: italic;">Italic </span>
<span style="font-style: oblique;">Oblique </span>
Output:
Normal
Italic
Oblique
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information
|