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

Code Example 1

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

Code Example 2

font-size: 25px;

Code Example 3

font-size:20px;

"default size is : +-16px;"

Code Example 4

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

Learn ReactJs, React Native from akashmittal.com