CSS Font Style

CSS Font Style


CSS Font Style 
The font-style property can be used to make text italic. 
It has three supported values given down below - 
  1.  normal
  2. Italic
  3. oblique
Italic and oblique are similar but slightly different. 
Italic is typically an angled font face, sometimes with a completely different design than the normal version. 
On the other hand, oblique is typically just the normal version, slanted. 
Not all fonts include both an italic and oblique version. 
In this case, the italic and oblique styles look the same.
Syntax - 
font-style: value;
Now we will see One example which will cover all the three values - 
Example - 
Output -