font-style
Anonymous contributors
Anonymous contributors
Anonymous contributors
Published Jun 29, 2021Updated Sep 3, 2021
Contribute to Docs
To set the font style in which text will appear.
Syntax
font-style: <font-style-value>;
The font-style-value
can be the following:
normal
oblique
italic
inherit
initial
Example 1
Set the p
tag to italic
:
p {font-style: italic;}
All contributors
- Anonymous contributorsAnonymous contributors
- Anonymous contributors
Looking to contribute?
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.