Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Setting font-style in CSS</title> <style> p.normal { font-style: normal; } p.italic { font-style: italic; } p.oblique { font-style: oblique; } </style> </head> <body> <p class="normal">This is a normal paragraph.</p> <p class="italic">This is a paragraph with italic font style.</p> <p class="oblique">This is a paragraph with oblique font style.</p> </body> </html>