Quackit Logo

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! HTML Editor


Also see all CSS properties listed alphabetically


Enjoy this website?

  1. Link to this page (copy/paste into your own website or blog):
  2. Add this page to your favorite social bookmarks sites:
                     
  3. Add this page to your Favorites

Oh, and thank you for supporting Quackit!