title: How to force a Download File prompt instead of displaying it in-browser with HTML?
body: <pre><code> &lt;a href="sample.pdf" target="_blank"&gt;Download&lt;/a&gt;
  </code></pre>
  
  <p>If I click Download button, this target blank is opening a new window.</p>
  
  <p>But I need it to prompt a dialog for saving this file. How can I achieve this?
  <img src="https://i.stack.imgur.com/mX9po.png" alt="enter image description here"></p>