css italic text

CSS
.my_italic_class{
  font-style: italic;
}h1 {
  font-style: italic;
}style= "font-style: italic;"#example {
	font-style: normal; /* no specification, default */
  	font-style: italic; /* font is italic */
    font-style: oblique; /* font is italic, even if italic letters are not specified for font family */
    font-style: inherit; /* inherit property from parent */
	font-style: initial; /* default value */
}<i>This text will be in italics</i>
Source

Also in CSS: