ScanSkill

font-style

The font-style property sets the font style of a text.

Syntax

font-style: normal | italic | oblique;

Example

    <div class="div-1">
        This is a normal font.
    </div>
    <div class="div-2">
        This is italic font.
    </div>

    <div class="div-3">
        This is oblique font.
    </div>
font-style

Property Values

normal: displays a normal font style. (Default value)

italic: displays an italic font style.

oblique: displays an oblique font style.