Font Style

The font-style property is used to specify the font style the browser uses to render a character.

The values of font-style are.

italic Cursive
obliqueSlanted, Incline
inherit inherited from the parent

 font-style : normal
font-style : italic
p {font-style:normal;}
div {font-style:italic}
h1 {font-style:normal;}
h2 {font-style:italic}
span {font-style:oblique}
<p>This is a paragraph text</p>
<div>This is a text inside div</div>
<h1>This is a h1 text</h1>
<h2>This is a h2 text</h2>
<span>This is a text inside div</span>


This is a paragraph text

This is a text inside div

This is a h1 text

This is a h2 text

This is a text inside div
Related Tutorial
1. Fonts
8. Font
Follow Us # # # # #