Check out example codes for "css italic text". It will help you in understanding the concepts better.

Code Example 1

h1 {
  font-style: italic;
}

Code Example 2

#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 */
}

Code Example 3

.my_italic_class{
  font-style: italic;
}

Code Example 4

style= "font-style: italic;"

Code Example 5

.my_italic_class{ font-style: italic }

Code Example 6

<i>This text will be in italics</i>

Learn ReactJs, React Native from akashmittal.com