title: How to link to a .woff font file in html document
body: <p>I have a problem with a font I installed on my computer that I want to apply to HTML5 / CSS3.</p>
  
  <p><em>How my question differs from its possible duplicate: it explicitely asks what to put in the .html file, a question that was unaddressed in the duplicate question.</em></p>
  
  <p>Update after problem solved: </p>
  
  <p>1) The <code>&lt;link href=....&gt;</code> line must NOT be included in the .html file</p>
  
  <p>2) The .woff font file must be in the same directory as the .css file.</p>
  
  <p>This is my minimal working CSS:</p>
  
  <pre><code>@font-face{
      font-family: Reef;
      src: local('../Fonts/Reef/reef-webfont.woff'), url('../Fonts/Reef/reef-webfont.woff') format('woff');
  }
  
  body, h1, h2{   
      text-align:center;
      font-family: 'Reef', monospace; 
  }
  </code></pre>
  
  <p>And this is my minimal working HTML file:</p>
  
  <pre><code>&lt;html&gt;
  
  &lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/
      libs/jquery/1.4.3/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;&lt;/script&gt;    
  
      &lt;head&gt;
          &lt;link rel="stylesheet" type="text/css"   href="bootstrap.css" /&gt;
          &lt;link rel="stylesheet" href="stylesGrilcheeserie.css" type="text/css"/&gt;     
          &lt;link href='../Fonts/Reef/reef-webfont.woff' rel='stylesheet' type='text/css'&gt;
          &lt;title&gt; Grilcheeserie &lt;/title&gt;          
      &lt;/head&gt;
  
      &lt;body&gt;
  
          &lt;h1&gt;La Grilcheeserie&lt;/h1&gt;       
  
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Whatever I do, my page appears with its backup font, monospace, not Reef.</p>
  
  <p>My question is: how do I correctly reference the font source in the html? As far as I can tell from searching answers, my css is supposed to be right.</p>
  
  <p>I'm using Firefox on Windows 10.</p>