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>