This property applies font effects to content in the current
container. If the preferred style can not be accommodated, the
browser should try to find the best match to the indicated effect.
Italic and Oblique properties both result in an 'italic-like'
appearance, but some font families require the use of the 'oblique'
value instead of 'italic'.
Allowed Values
inherit
[CSS2] [N6|O7]
Type: Explicit
Description:
Explicitly sets the value of this property to that of the parent.
normal
[CSS1|CSS2]
[IE3B1|N4B2|O3.5]
Type: Explicit
Description:
This value indicates a font classified as 'normal' should be used (a font not
italicized or obliqued.)
italic
[CSS1|CSS2]
[IE3B1|N4B2|O3.5]
Type: Explicit
Description:
A font specified as 'italic' (or a variant of type Cursive) should be used.
If one is not available, an oblique font may be used in its place.
oblique
[CSS1|CSS2]
[IE4B1|N6|O3.5]
Type: Explicit
Description:
A font specified as 'oblique' (sometimes also called Slanted or Incline) should
be used. Oblique fonts often exist for sans-serif font types.
- The "inherit" value is listed in the standards for this property, although
the property is itself inherited. This means it is impossible to check
to see if this value is actually supported in any browser. Mozilla began
generally supporting "inherit" where appropriate in version 6.x, and
Opera beginning mostly in 7.x. IE does not yet support "inherit" anywhere
yet. So, for all inherited properties, support information for the
"inherit" value will be listed as beginning in these respective versions.
Internet Explorer
4.0+:
- The "italic" and "oblique" values are treated exactly the same