CSS font-style Property Example

Updated on     Kisan Patel

The font-style CSS property define the font style for an HTML element.

Various font styles are–

  1. Normal
  2. Italic
  3. Oblique

Syntax

font-style: normal;
font-style: italic;
font-style: oblique;

Example

h3.normal {font-style: normal;}
h3.italic {font-style: italic;}
h3.oblique {font-style: oblique;}


CSS

Leave a Reply