CSS Property: font-style
[this page | pdf | back links]
The CSS (CSS1) font-style property indicates the font
style to use for text in an element.
Valid property values
(other than inherit
and initial) are:
|
Value
|
Description
|
|
italic
|
Italic text
|
|
normal
|
(default value). Normal
text
|
|
oblique
|
Oblique text
|
|
Default Value:
|
normal
|
|
JavaScript syntax:
|
e.g. object.style.fontStyle="italic"
|
|
Inherited:
|
Yes
|
|
Animatable:
|
No
|
NAVIGATION LINKS
Contents | Prev | Next | CSS Properties