The font-style CSS property allows italic or oblique faces to be selected within a font-family.


Italic forms are generally cursive in nature while oblique faces are typically sloped versions of the regular face. Oblique faces can be simulated by artificially sloping the glyphs of the regular face.

Selects a font that is classified as normal within a font-family
Selects a font that is labeled italic, if that is not available, one labeled oblique
Selects a font that is labeled oblique

<!DOCTYPE html>
            p.italic {
                font-style: italic
            p.oblique {
                font-style: oblique
        <p class="italic">
            This paragraph is italic.
        <p class="oblique">
            This paragraph is oblique.