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

Code Example 1

<html>
 <head>
   <title>Italic Text</title>
 </head>
 <body> 
   <p>Use the em element to <em>indicates emphasized</em> content.</p>
 </body>
</html>

Code Example 2

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

Learn ReactJs, React Native from akashmittal.com