Font Style

The font-style property is mostly used to specify italic text. This property has three values -- normal, italic and oblique (which is like italic but it's less supported by browsers):

HTML file: Displayed by browser:
<style>
p.normal {
    font-style: normal;
}
p.italic {
    font-style: italic;
}

p.oblique {
    font-style: oblique;
}
</style>
<body>
<p class="normal">This is a paragraph in normal style.</p>
<p class="italic">This is a paragraph in italic style.</p>
<p class="oblique">This is a paragraph in oblique style.</p>
</body>

This is a paragraph in normal style.

This is a paragraph in italic style.

This is a paragraph in oblique style.

Why bother with the oblique one at all?

Back button Table of Contents Next button