Property: Font Style
Usage:
font-style: italic;
font-style: oblique;
font-style: normal;
Definition:
This will set style to the fonts.
It takes the following values.
a)italic : It sets the fonts as italic fonts.
b)oblique: It sets the fonts as normal fonts.
c)normal : It sets the fonts as normal fonts. Its the default value.
Example 1:
<div style=" font-style: italic;">testing font style</div>
Result:
testing font style
Example 2:
<div style=" font-style: oblique;">testing font style</div>
Result:
testing font style
Example 3:
<div style=" font-style: normal;">testing font style</div>
Result:
testing font style
|