font-style property sets the text font style. font-style sets a font-style to italic, oblique & normal.
Default font style is normal.
italic font style example
<html>
<head>
<style>
div {
font-style: italic;
}
</style>
</head>
<body>
<div>
Italic font example
</div>
</body>
</html>
oblique font style example
<html>
<head>
<style>
div {
font-style: oblique;
}
</style>
</head>
<body>
<div>
oblique font example
</div>
</body>
</html>
normal font style example
<html>
<head>
<style>
div {
font-style: normal;
}
</style>
</head>
<body>
<div>
normal font example
</div>
</body>
</html>