By using this site you agree to the use of cookies by Brugbart and our partners.

Learn more

CSS Font-style Property

Reference showing how to use the CSS font-style Property.

Edited: 2015-02-21 15:10

The font-style property is used to control the style of text, such as that of paragraphs and headings on a page. But also more generally – like text inside table cells, or inside ordered and unordered lists.

Possible Values

  • normal (Default)
  • italic
  • oblique

CSS font-style example

In the below example, the style for paragraph elements is set to italic.

p {
  font-style: italic;

Inherited? - Yes!