font-style
Definition
The font-style property is used to slant the font, for example to create italics.
Example
h2 {font-style: italic}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