CSS font-style

Also see the full, alphabetical list of CSS properties


The CSS font-style property is used to set the style of the font to italic or oblique.

Tip: Use CSS font to set the most common font properties in one go.

Syntax: font-style: <value>
Possible Values:
  • normal
  • italic
  • oblique
  • inherit
Initial Value: normal
Applies to: All elements
Inherited: Yes
Media: Visual
Example: p {font-style: italic}
Try it yourself!


Also see all CSS properties listed alphabetically


Enjoy this page?

  1. Link to this page (copy/paste into your own website or blog):
  2. Link to Quackit using one of these banner ads.

Thanks for supporting Quackit!

Sponsored Link: Design CODE-FREE Websites

Check a Domain:

ZappyHost Logo
Webydo Banner Ad
Webydo Banner Ad