title: html pdf viewer: failed to load pdf document
body: <p>I want to open a <code>pdf</code> file on my <code>html</code> document, but the file won't open. Chrome said</p>
  
  <blockquote>
    <p>Failed to load PDF document.</p>
  </blockquote>
  
  <p>Please help.</p>
  
  <p>the <code>pdf</code> and the <code>html</code> are on the same location on the <code>localhost</code> of my computer.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;body&gt;
          &lt;embed src="1.pdf" width="500" height="375" type='application/pdf'&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>