HTML Dog
Skip to navigation

CSS Property: font-style

Italic or oblique text.

font-weight, font-style, font-variant, and text-transform.

Possible Values

ValueDescription
normalStandard “roman” non-italic, non-oblique text.
italicItalic text. Selects an italic subset of a font family. If one is not found, oblique is selected.
obliqueSlanted text. Selects an oblique subset of a font family. If one is not found, text may be generated by slanting a normal font.
inherit
initial
unset

Example


.warning { font-style: italic; }

Browser support