| 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