|
CSS Index ~ CSS Structure ~ CSS Properties
Font Style
| Syntax: |
font-style: <value>
|
| Possible Values: |
normal | italic | oblique
|
| Initial Value: |
normal
|
| Applies to: |
All elements
|
| Inherited: |
Yes
|
The font-style property defines that the font be displayed in one of three ways: normal, italic or oblique (slanted). A sample style sheet with font-style declarations might look like this:
H1 { font-style: oblique }
P { font-style: normal }
CSS Index ~ CSS Structure ~ CSS Properties
Copyright © 1997 John Pozadzides and Liam Quinn. All rights reserved.
|