CSS:font-style
From MDC
[edit] Summary
The font-style property specifies normal (also known as upright or roman), italic, and oblique faces within a font family.
- Initial value:
normal - Applies to: all elements
- Inherited: Yes
- Percentages: N/A
- Media:
visual - Computed value: specified value (except for initial and inherit)
[edit] Syntax
font-style: normal | italic | oblique
[edit] Values
- normal, oblique, italic
- Specifies that the user-agent should choose the 'normal', 'oblique' or 'italic' typeface within the
font-family.
[edit] Examples
h1 { font-style: italic }
p { font-style: oblique }
[edit] Notes
[edit] Specifications
[edit] Browser compatibility
[edit] See also
font,
font-family,
font-size,
font-size-adjust,
font-stretch,
font-style,
font-variant,
font-weight,
@font-face