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