Syntax error Make a font italic with CSS

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: 2020-01-30T09:24:23+05:30

356 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements