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

Code Example 1

<font face="yourfont">
  
  Lorem Ipsum
  
</font>

Code Example 2

<font face="yourfont">

  Lorem Ipsum
  
</font>

Code Example 3

HTML
<body>
  <p style="color:#FF0000";>Red paragraph text</p>
</body>

Code Example 4

<p style="font-family:verdana">This is a paragraph.</p>
<p 
    style="font-family:'Courier New'">This is another paragraph.</p>

Code Example 5

<font face= "any_font_on_your_computer">
  
  <h1>You are welcome for this</h1>
  
</font>

Code Example 6

<script>//for typewriter font:</script>

<tt>
  <h1>Example Text</h1
</tt>

Learn ReactJs, React Native from akashmittal.com