Extensible HyperText Markup Language

XHTML.com recommends: PSD to HTML Slicing Service

font-style

Definition

The font-style property is used to slant the font, for example to create italics.

Example

  1. h2 {font-style: italic}
  2. em {font-style: normal}

Characteristics

Possible values

normal
No slanting of the font.
italic
Italic font.
oblique
In most Web browsers renders as italic.
inherit
Use the same computed value as the parent element for this property.

Default value

normal

Applies to

All elements

Inherited

Yes

See also