Set the font style with CSS

JavascriptWeb DevelopmentFront End Scripts

To set the font style, use the font-style property. Set the font to italic, normal and oblique.

Example

You can try to run the following code to set the font-style to italic with CSS:

<html>
   <head>
   </head>
   <body>
      <p style = "font-style:italic;">
         Europe, Australia, South America are continents.
      </p>
   </body>
</html>
raja
Published on 13-Apr-2018 12:33:08
Advertisements