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

Code Example 1

.my_italic_class{
  font-style: italic;
}

Code Example 2

h1 {
  font-style: italic;
}

Code Example 3

.example {
  font-style: italic;
}

Code Example 4

style= "font-style: italic;"

Learn ReactJs, React Native from akashmittal.com