css.properties

font-style

The font-style property specifies the style of a font (normal, italic, oblique).

Formal Syntax

normal | italic | left | right | oblique <angle [-90deg,90deg]>?

See specification

JavaScript Access

// Access via element.style
element.style.fontStyle = 'normal';

Browser Support

standard | MDN ยท Spec

FeatureChromeFirefoxSafariEdge
font-style11112
italic11112
normal11112
oblique11112
oblique-angle626111.179

Related Properties