title: Adding a favicon to a static HTML page
body: <p>I have a few static pages that are just pure HTML, that we display when the server goes down. How can I put a favicon that I made (it's 16x16px and it's sitting in the same directory as the HTML file; it's called favicon.ico) as the "tab" icon as it were? I have read up on Wikipedia and looked at a few tutorials and have implemented the following:</p>
  
  <pre><code>&lt;link rel="icon" href="favicon.ico" type="image/x-icon"/&gt;
  &lt;link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/&gt;
  </code></pre>
  
  <p>But it still doesn't want to work. I am using Chrome to test the sites. According to Wikipedia .ico is the best picture format that runs on all browser types.</p>
  
  <h2>Update</h2>
  
  <p>I could not get this to work locally although the code checks out it will only really work properly once the server started serving the site. Just try pushing it up to the server and refresh your cache and it should work fine.</p>