font-style

Make your font italic, if it is supported by that font. This has a similar effect as the italic HTML tag.

Value Description
italic An italic style will be applied to the font.
oblique An oblique style will be applied to the font.
normal

Code:

p { font-style: italic; }
h4{ font-style: oblique; }

Display:

This is an italic font

This is an oblique font