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