Font-style property

Last updated: 2026-09-13

font-style Font-style property

The font-style CSS property sets whether text is rendered in an italic or oblique style. It accepts three values — normal, italic, and oblique — and is often used for quotations, emphasis, and special typography.

Category
Initial Valuenormal
InheritedYes
Applies Toall
Animation Typediscrete
CSS VersionCSS1
StatusStandard

📝 Syntax

font-style: normal | italic | oblique <angle>?;

⚙️ Values

ValueTypeDescription
normal | italic | obliqueKeywordFont style: normal, italic, or oblique

▶ Example

Edit the code below and see the live result in the playground:

🌐 Browser Support

Browser ChromeChrome EdgeEdge FirefoxFirefox SafariSafari OperaOpera
font-style v1 v12 v1 v1 v1
Supported in all major browsers
Tip: italic uses the font's own italic faces, while oblique artificially slants the glyphs; when a font has no italic version the two behave almost identically.

❓ FAQ

QWhat is the difference between the italic and oblique font styles?
Aitalic uses the font's specially designed italic glyphs, while oblique mechanically slants the normal glyphs to create a pseudo-italic look. If a font has no italic version, browsers substitute oblique for italic, making the two look similar. CSS also lets you specify an angle, for example oblique 10deg.
QHow do I make text italic using the font-style property in CSS?
ASet font-style: italic (nicer result, recommended) or font-style: oblique (forced slanting). This is often applied to book titles, foreign words, and emphasis. Note that em and i elements are italic by default; use font-style: normal to remove italics.
QHow does font-style: italic differ from using transform: skew in CSS?
Afont-style is a typographic setting that selects italic glyphs or slants them slightly without affecting the element's box; transform: skew() geometrically distorts the whole element, including its background and border. Use font-style for regular italics and avoid skew as a substitute.

📚 Related Tutorials

Web-Tutorial.com

Web-Tutorial Tech Team

A team of developers maintaining programming tutorials. Each tutorial is written and reviewed by developers with expertise in that field. We work to keep our content accurate and reliable — if you spot an issue, please let us know.

100%

🙏 帮我们做得更好

我们是刚上线的编程教程站,几个人的小团队,精力有限。页面虽经检查,难免还有疏漏——链接失效、排版错乱、内容有误、语言生硬……

如果您发现了,麻烦告诉我们,我们会在收到反馈后第一时间进行修复,再次感谢您的光临 🙏