Make a font italic with CSS


To make a font italic, use the font-style property. You can try to run the following code to learn how to work with the font-style property:

Example

<html>
   <head>
   </head>
   <body>
      <p style = "font-style:italic;">
         This text is in italic style
      </p>
   </body>
</html>

Updated on: 30-Jan-2020

242 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements