title: Using Web Fonts in Custom SharePoint MasterPage HTML
body: <p>I have to use a web font that from another website and the URL of that is at the below.</p>
  
  <pre><code>&lt;a href="http://fast.fonts.com/cssapi/b0549848-32a3-4c8e-a13e-810394960364.css"&gt;http://fast.fonts.com/cssapi/b0549848-32a3-4c8e-a13e-810394960364.css&lt;/a&gt;
  </code></pre>
  
  <p>To add this web font I have used the following statement in my MasterPage's HTML file.</p>
  
  <pre><code>&lt;link href="http://fast.fonts.com/cssapi/b0549848-32a3-4c8e-a13e-810394960364.css" type="text/css" rel="stylesheet" /&gt;
  </code></pre>
  
  <p>My MasterPage is a custom one. I tried the following statement but it didnot work because when I tried to save the MasterPages's HTML file an error occurs saying the file should have the .aspx extension.</p>
  
  <pre><code>&lt;SharePoint:CssRegistration Name="&lt;%$SPrl:~sitecollection/Style Library/MyCustomTheme/mycss.css%&gt;" runat="server" After="corev15.css"/&gt;
  </code></pre>
  
  <p>The problem I think the custom web font will be replaced by the default font in the default CSS file in the SharePoint Site.</p>
  
  <p>So what can I do for to obstruct this problem? Please could someone help me solve this?</p>
  
  <p>Thanks and regards,</p>
  
  <p>Chiranthaka</p>