The font-style property is used to select between normal (upright) and italic or oblique font faces.
The font-style property contains following information:
- value: normal, italic, oblique or inherit;
- initial: normal;
- applies to: all elements;
- inherited: yes;
- percentages: N/A;
- media: visual;
- computed value: as specified by the font family.
The appearance of italic and oblique faces highly depends on the normative within a browser and the generic names of the chosen font family, thus for instance a cursive type family is by default labeled as italic.
CSS font-style property example: