Definition The font-style property sets the style of a font. Inherited: Yes JavaScript Syntax CSS properties can also be dynamically c...
Definition
The font-style property sets the style of a font.Inherited: Yes
JavaScript Syntax
CSS properties can also be dynamically changed with a JavaScript.Scripting Syntax: object.style.fontStyle="italic"
Example
body { font-style: italic } |
Possible Values
Value | Description |
---|---|
normal | Default. The browser displays a normal font |
italic | The browser displays an italic font |
oblique | The browser displays an oblique font |
Goto CSS3 and CSS2 complete reference