CSS Font-Style Property

In this chapter you will learn:
About font-style property
Example of this property
CSS font-style property is used to specify the style of font like normal, italic and oblique. This property is mostly used to display the text as an italic format.
Example of this property:
<style type="text/css">
<p id="a"> This is the example of font-style:italic</p>
<p id="b"> This is the example of font-style:normal</p>
<p id="c"> This is the example of font-style:oblique</p>

When you run the given program then you will get that the style of the text of paragraphs is different (italic, normal and oblique).
example of font-size property


In this chapter, you have learned about the font-style property and also its uses in the program so now write your own program to use font-style property because if you try yourself then you can learn better. Click on Next button to continue-

More Articles


Share your thought