how to change font in html

<font face="yourfont">

  Lorem Ipsum
  
</font><font face="yourfont">
  
  Lorem Ipsum
  
</font><script>//for typewriter font:</script>

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