title: How to stop downloading PDF in an iframe automatically and instead view the file?
body: <p>I have an iframe on my website that loads a PDF file :</p>
  
  <pre><code>&lt;iframe src="file.pdf" frameborder="0" width="800" height="600"&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>But it's downloaded automatically , I want to view the file not to download it .</p>
  
  <p>So how could I fix this problem?</p>