HTML and CSS Reference
In-Depth Information
Name
font-style
Values:
italic | oblique | normal
Initial value:
normal
Applies to:
All elements
Inherited:
Yes
Computed value:
Same as declared value
Description:
Defines whether the font uses an italic, oblique, or normal font face. Italic text is generally
defined as a separate face within the font family. It is theoretically possible for a user agent to
compute a slanted font face from the normal face. In reality, user agents rarely (if at all) recog-
nize the difference between italic and oblique text and almost always render both in exactly
the same way.
Examples:
em {font-style: oblique;}
i {font-style: italic;}
Search WWH ::




Custom Search