Menu Samaritan's Purse

FONT-STYLE

The font-style property allows italic or oblique faces to be selected.

SYNTAX

CSS

font-style: value;

JS

object.style.fontStyle = "value";

VALUES

<'font-style'> = normal | italic | oblique <angle>?
normal

Matches against a face that is classified as a normal face, one that is neither italic or obliqued.

italic

Matches against a font that is labeled as an italic face, or an oblique face if one does not exist.

oblique

Controls matching against an oblique face. Positive angles represent a clockwise slant; negative angles represent a counter-clockwise slant.

<angle>
deg

Degrees. There are 360 degrees in a full circle.

grad

Gradians, also known as "gons" or "grades". There are 400 gradians in a full circle.

rad

Radians. There are 2p radians in a full circle.

turn

Turns. There is 1 turn in a full circle.

INITIAL

normal

EXAMPLES

ITALIC

NORMAL

OBLIQUE

JS

INTERNAL

font

font-family

font-size

font-stretch

font-variant

font-weight

line-height

EXTERNAL

World Wide Web Consortium (W3C)