how to define html font code example
Example 1: use font on website html
<style type="text/css">
@font-face {
font-family: "My Custom Font";
src: url(http://www.example.org/mycustomfont.ttf) format("truetype");
}
p.customfont {
font-family: "My Custom Font", Verdana, Tahoma;
}
</style>
<p class="customfont">Hello world!</p>
Example 2: how to change the font in html
<script>//for typewriter font:</script>
<tt>
<h1>Example Text</h1
</tt>