To use local font in HTML using font face
<p>I trying to use local font to apply styles in html, below is the code.Font is not getting applied for harlow class used element</p>

<pre><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;style&gt;
@font-face {
    font-family: myFirstFont;
    src:local("C:\Users\Website\fonts\Harlow_Solid_Italic.ttf");
}

.harlow{
    font-family: myFirstFont;
}
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div&gt;With CSS3, websites can finally use fonts other than the pre selected "web-safe" fonts.&lt;/div&gt;
&lt;p&gt;&lt;b class="harlow"&gt;Note:&lt;/b&gt; Internet Explorer 8 and earlier, do not support the @font-face rule with the WOFF format (only support for EOT format).&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>