CSS font-style Property
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
CSS font-style Property
Reviewed by 1000sourcecodes
on
21:51
Rating: