Usage of font-style property in CSS

The font-style property is used to make a font italic or oblique. You can try to run the following code to set the font-style property:

<html>
   <head>
   </head>
   <body>
      <p style = "font-style:italic;">
         This text will be rendered in italic style
      </p>
   </body>
</html>
Updated on: 2020-01-30T10:18:40+05:30

89 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements