Default value for CSS font-style property is normal.
The following table provides a list of values for CSS font-style property.
Sets a font that is classified as normal within a font-family.
Sets a font that is classified as italic. If no italic version of the face is available, one classified as oblique is used instead.
Sets a font that is classified as oblique. If no oblique version of the face is available, one classified as italic is used instead.
Sets a font classified as oblique, and additionally specifies an angle for the slant of the text.
All in One
In the following example, we will demonstrate all values of CSS font-style property.
HTML Online Editor
<h1>CSS font-style Property</h1>
<pid="point">font-style of this paragraph is normal.</p>
<pid="point1">font-style of this paragraph is italic.</p>
<pid="point2">font-style of this paragraph is oblique.</p>
<pid="point3">font-style of this paragraph is oblique 45deg.</p>