font-style

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

Values

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.

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

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