font-style property
What it does:
This property makes text either normal or italic/oblique.
HTML Equivalent:
<i>
Values:
italic: Makes the text italic
oblique: Makes the font oblique, also called slanted or incline.
normal: Keeps the font the same (not italic/oblique)
Example:
External style sheet: p.italictext {font-style: italic;}
In-line: <p style="font-style: normal">
CSS Properties: Contents
::Fonts font-style font-weight font-family color |
::Text text-align text-decoration text-transform text-shadow |
::Backgrounds background-color background-image background-repeat background-attachment |
::Scrollbars | ::Dimensions | ::Margins and Padding |
::Borders Border Border-width Border-style |