change font html css code example Example: how to change the font in html <script>//for typewriter font:</script> <tt> <h1>Example Text</h1 </tt>