Font Style

Syntax: 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).

Example:

H2 { font-style: oblique }

P { font-style: normal }


See example in action