|
Font Properties Font Style |
![]() |
||
Font Properties
Font Family
Font Style
Font Variant
Font Weight
Font Size
Font
Appearance:
font-style: <value>
Possible Values:
normal | italic | oblique
Initial Value:
normal
Applies to:
All elements
Inherited:
Yes
The font-style property defines that the font be displayed in one of three ways: normal, italic or oblique (slanted). A sample style sheet with font-style declarations might look like this:
H1 { font-style: oblique }
P { font-style: normal }