Check out example codes for "how to style html". It will help you in understanding the concepts better.

Code Example 1

<p style="text-align: center; color: pink;">Hello World</p>

Code Example 2

<html>
  <body>
    <!--Some HTML-->
    
    <style>
      /*Some CSS*/
    </style>
  </body>
</html>

Code Example 3

<h1 style="color:blue;">This is a Blue Heading</h1>

Code Example 4

<p style="color: blue; font-size: 46px;">

Code Example 5

<h1 style="color:blue;">A Blue Heading</h1>

<p 
  style="color:red;">A red paragraph.</p>

Learn ReactJs, React Native from akashmittal.com