CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS font-style property




The CSS font-style property use to set a font style to italic or oblique.


Property Values


Properties Value Description
Syntax font-style:value;
value   normal
  italic
  oblique
  inherit
Allow to All elements
Inherited Yes

Example-Code:

<p style="font-style:normal;">This text type Normal</p>
<p style="font-style:italic;">This text type Italic</p>
<p style="font-style:oblique;">This text type Oblique</p>
Online Try This Code Your Self....   »

Example-Result:

This text type Normal

This text type Italic

This text type Oblique