Glubase - share your knowledge


All / Computers / Programming / CSS





  • View Command

CSS Reference

CSS font-style definition

Browser support
IEFFOpSaf

Type:

Syntax

font-style: normal | italic | oblique

Description

The font-style property sets the style of the font and can be either normal, italic or oblique.

Values

Values Description
normal Normal font.
italic Italic font.
oblique Oblique font.

Example

[Try this example yourself]
<p style="font-style: italic;">
  Example text
</p>

Output

Example text

  • Comments

No comments added.