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

Code Example 1

         <h1 style="color:red;font-size:40px;">Heading</h1>      
         <p style="color:blue;font-size:18px;">This is demo text</p>    

Code Example 2

<span style="font-size:20px;"></span>

Code Example 3

<font size="+2">This is bigger text.</font>

Code Example 4

font-size: 25px;

Code Example 5


"default size is : +-16px;"

Learn ReactJs, React Native from