CSS Font-Style Property

CSS 1

CSS 2

CSS 3

Yes Yes Yes

Description

Specifies the styling for use by a font.

Syntax

font-style: [value];

Possible values

  • normal
  • italic
  • oblique
  • inherit

Initial Value

Normal

Applies To

All elements

Inherited

Yes

Media

Visual

Example

p.title {font-style: italic;}


View All CSS Properties